Never been to CodeSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

1 total

On This Page:

  1. 1 Web.py htaccess

Web.py htaccess

// description of your code here

<Files code.py>
    SetHandler wsgi-script
    Options ExecCGI FollowSymLinks
    Order allow,deny
    Allow from all
</Files>



RewriteEngine on 
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/?(.*)$ /code.py/$1


# protect subversion directories
#RewriteRule .*\.svn/.* - [F]
1 total

On This Page:

  1. 1 Web.py htaccess