You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

18 lines
303 B

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>