19 lines
303 B
ApacheConf
19 lines
303 B
ApacheConf
|
Options +ExecCGI
|
||
|
AddHandler wsgi-script .py
|
||
|
RewriteEngine On
|
||
|
|
||
|
RewriteCond %{REQUEST_URI} /\.svn/
|
||
|
RewriteRule . - [F]
|
||
|
<Files ~ "^\.">
|
||
|
Order allow,deny
|
||
|
Deny from all
|
||
|
</Files>
|
||
|
<Files ~ "^config.py">
|
||
|
Order allow,deny
|
||
|
Deny from all
|
||
|
</Files>
|
||
|
<Files ~ "^\.\.?$">
|
||
|
Order allow,deny
|
||
|
Allow from all
|
||
|
</Files>
|