Fix logs rewrite passthrough
The logs vhost rewrite rules were passing through and failing matches because of apache2's internal rewrites. Stopping passing through to avoid apache2 breaking us. Change-Id: I86fafad9a0c991f00a86c042ff1174ca2ccd8c4d
This commit is contained in:
parent
a1953fd4ae
commit
d65853f8da
@ -67,7 +67,8 @@ NameVirtualHost <%= vhost_name %>:<%= port %>
|
||||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-l
|
||||
RewriteRule ^/(.*)$ /htmlify/$1 [QSA,L,PT]
|
||||
RewriteCond %{REQUEST_FILENAME} !^/icon
|
||||
RewriteRule ^/(.*)$ /htmlify/$1 [QSA,L]
|
||||
|
||||
WSGIScriptAlias /htmlify /usr/local/lib/python2.7/dist-packages/os_loganalyze/wsgi.py
|
||||
|
||||
|
@ -67,7 +67,8 @@ NameVirtualHost <%= vhost_name %>:<%= port %>
|
||||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-l
|
||||
RewriteRule ^/(.*)$ /htmlify/$1 [QSA,L,PT]
|
||||
RewriteCond %{REQUEST_FILENAME} !^/icon
|
||||
RewriteRule ^/(.*)$ /htmlify/$1 [QSA,L]
|
||||
|
||||
WSGIScriptAlias /htmlify /usr/local/lib/python2.7/dist-packages/os_loganalyze/wsgi.py
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user