2016-10-30 19:11:33 -07:00
|
|
|
# Force no Indexes in all cases
|
|
|
|
# Force ExecCGI
|
|
|
|
# FollowSymlinks for RewriteEngine
|
2018-01-28 08:14:48 -08:00
|
|
|
Options -Indexes +ExecCGI +FollowSymlinks
|
2016-10-30 19:11:33 -07:00
|
|
|
|
2016-11-01 18:07:09 -07:00
|
|
|
AddHandler wsgi-script .wsgi
|
2016-10-30 19:11:33 -07:00
|
|
|
# No index.html or other things
|
2016-11-01 18:07:09 -07:00
|
|
|
DirectoryIndex extra.wsgi
|
2016-10-30 19:11:33 -07:00
|
|
|
|
|
|
|
# Stop here if application is handling the request
|
2016-11-01 18:07:09 -07:00
|
|
|
RewriteCond %{REQUEST_URI} ^/extra\.wsgi
|
2016-10-30 19:11:33 -07:00
|
|
|
RewriteRule (.*) - [L]
|
|
|
|
|
|
|
|
# Extra application
|
2016-11-01 18:07:09 -07:00
|
|
|
RewriteRule (.*) /extra.wsgi/$1 [L,QSA,NS]
|