Merge "Update comment in logs.vhost"
This commit is contained in:
commit
923b6eb7dc
@ -58,11 +58,14 @@ NameVirtualHost <%= vhost_name %>:<%= port %>
|
|||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
# rewrite all txt.gz & html.gz files to map to our internal htmlify wsgi app
|
# rewrite txt.gz & console.html[.gz] files to map to our internal htmlify
|
||||||
# PT, Pass-through: to come back around and get picked up by the WSGIScriptAlias
|
# wsgi app
|
||||||
# NS, No-subrequest: on coming back through, mod-autoindex may have added index.html
|
# PT, Pass-through: to come back around and get picked up by the
|
||||||
# which would match the !-f condition. We therefore ensure the
|
# WSGIScriptAlias
|
||||||
# rewrite doesn't trigger by disallowing subrequests.
|
# NS, No-subrequest: on coming back through, mod-autoindex may have added
|
||||||
|
# index.html which would match the !-f condition. We
|
||||||
|
# therefore ensure the rewrite doesn't trigger by
|
||||||
|
# disallowing subrequests.
|
||||||
RewriteRule ^/(.*\.txt\.gz)$ /htmlify/$1 [QSA,L,PT,NS]
|
RewriteRule ^/(.*\.txt\.gz)$ /htmlify/$1 [QSA,L,PT,NS]
|
||||||
RewriteRule ^/(.*console\.html(\.gz)?)$ /htmlify/$1 [QSA,L,PT,NS]
|
RewriteRule ^/(.*console\.html(\.gz)?)$ /htmlify/$1 [QSA,L,PT,NS]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user