Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 314 Bytes
Options +ExecCGI
AddHandler cgi-script .py
DirectoryIndex main.py/
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_URI} !^/favicon.ico$
RewriteCond %{REQUEST_URI} !^/static/(.*)$
RewriteCond %{REQUEST_URI} !^(/.*)+main.py/
RewriteRule ^(.*)$ /main.py/$1 [PT]
</IfModule>
Something went wrong with that request. Please try again.