add sample apache pretty log

This commit is contained in:
Sean Dague 2013-10-11 10:05:17 -04:00
parent 3317e1df79
commit 078d905651
1 changed files with 5 additions and 0 deletions

5
apache/pretty-log.conf Normal file
View File

@ -0,0 +1,5 @@
# Apache config for htmlify screen logs
RewriteEngine On
# rewrite all txt.gz files to map to our internal htmlify wsgi app
RewriteRule ^/(.*\.txt\.gz)$ /htmlify/$1 [QSA,L,PT]
WSGIScriptAlias /htmlify /usr/local/bin/htmlify-screen-log.py