Avoid redirecting Debian libs path to fcgi
This commit is contained in:
parent
2314bf170f
commit
7c719c7c0a
|
@ -27,7 +27,7 @@
|
|||
# RewriteCond "%{REQUEST_FILENAME}" "!\.html$"
|
||||
|
||||
# REST URLs
|
||||
RewriteCond "%{REQUEST_FILENAME}" "!^/(?:static|doc|fr-doc|lib).*"
|
||||
RewriteCond "%{REQUEST_FILENAME}" "!^/(?:static|doc|fr-doc|lib|javascript|favicon).*"
|
||||
RewriteRule "^/(.+)$" "/psgi/manager-server.fcgi/$1" [PT]
|
||||
|
||||
Alias /psgi/ __MANAGERPSGIDIR__/
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
# RewriteCond "%{REQUEST_FILENAME}" "!\.html$"
|
||||
|
||||
# REST URLs
|
||||
RewriteCond "%{REQUEST_FILENAME}" "!^/(?:static|doc|fr-doc|lib).*"
|
||||
RewriteCond "%{REQUEST_FILENAME}" "!^/(?:static|doc|fr-doc|lib|javascript|favicon).*"
|
||||
RewriteRule "^/(.+)$" "/psgi/manager-server.fcgi/$1" [PT]
|
||||
|
||||
Alias /psgi/ __MANAGERPSGIDIR__/
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
# RewriteCond "%{REQUEST_FILENAME}" "!\.html$"
|
||||
|
||||
# REST URLs
|
||||
RewriteCond "%{REQUEST_FILENAME}" "!^/(?:static|doc|fr-doc|lib).*"
|
||||
RewriteCond "%{REQUEST_FILENAME}" "!^/(?:static|doc|fr-doc|lib|javascript|favicon).*"
|
||||
RewriteRule "^/(.+)$" "/psgi/manager-server.fcgi/$1" [PT]
|
||||
|
||||
Alias /psgi/ __MANAGERPSGIDIR__/
|
||||
|
|
|
@ -3,7 +3,7 @@ server {
|
|||
server_name manager.__DNSDOMAIN__;
|
||||
root __MANAGERDIR__;
|
||||
|
||||
if ($uri !~ ^/(static|doc|fr-doc|lib|javascript)) {
|
||||
if ($uri !~ ^/(static|doc|fr-doc|lib|javascript|favicon)) {
|
||||
rewrite ^/(.*)$ /manager.psgi/$1 break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user