MEDIUM: Move to WSGI since it gives better perf
This commit is contained in:
parent
c5db992f1e
commit
76e4ab5d98
|
@ -3,15 +3,13 @@
|
|||
# FollowSymlinks for RewriteEngine
|
||||
Options -Indexes ExecCGI FollowSymlinks
|
||||
|
||||
AddHandler cgi-script .fcgi
|
||||
AddHandler wsgi-script .wsgi
|
||||
# No index.html or other things
|
||||
DirectoryIndex extra.fcgi
|
||||
|
||||
RewriteEngine On
|
||||
DirectoryIndex extra.wsgi
|
||||
|
||||
# Stop here if application is handling the request
|
||||
RewriteCond %{REQUEST_URI} ^/extra\.fcgi
|
||||
RewriteCond %{REQUEST_URI} ^/extra\.wsgi
|
||||
RewriteRule (.*) - [L]
|
||||
|
||||
# Extra application
|
||||
RewriteRule (.*) /extra.fcgi/$1 [L,QSA,NS]
|
||||
RewriteRule (.*) /extra.wsgi/$1 [L,QSA,NS]
|
||||
|
|
Loading…
Reference in New Issue