Externalise conf

This commit is contained in:
Gregory Soutade
2014-11-20 15:25:43 +01:00
parent f593cc78d9
commit 4cc29487a2
2 changed files with 26 additions and 10 deletions

12
conf.py Normal file
View File

@@ -0,0 +1,12 @@
log_format = '$server_name:$server_port $remote_addr - $remote_user [$time_local] ' +\
'"$request" $status $body_bytes_sent ' +\
'"$http_referer" "$http_user_agent"';
#09/Nov/2014:06:35:16 +0100
time_format = '%d/%b/%Y:%H:%M:%S +0100'
analyzed_filename = 'access.log'
DB_ROOT = './output/'
DISPLAY_ROOT = './output/'