2014-11-21 16:57:11 +01:00
|
|
|
# Default configuration
|
|
|
|
|
|
|
|
DB_ROOT = './output/'
|
|
|
|
DISPLAY_ROOT = './output/'
|
2014-11-22 19:23:56 +01:00
|
|
|
HOOKS_ROOT = 'plugins'
|
2014-11-21 16:57:11 +01:00
|
|
|
|
2014-11-22 19:23:56 +01:00
|
|
|
PRE_HOOK_DIRECTORY = HOOKS_ROOT + '.pre_analysis'
|
|
|
|
POST_HOOK_DIRECTORY = HOOKS_ROOT + '.post_analysis'
|
|
|
|
DISPLAY_HOOK_DIRECTORY = HOOKS_ROOT + '.display'
|
2014-11-21 16:57:11 +01:00
|
|
|
META_PATH = DB_ROOT + 'meta.db'
|
|
|
|
DB_FILENAME = 'iwla.db'
|
|
|
|
|
|
|
|
log_format = '$server_name:$server_port $remote_addr - $remote_user [$time_local] ' +\
|
|
|
|
'"$request" $status $body_bytes_sent ' +\
|
|
|
|
'"$http_referer" "$http_user_agent"'
|
|
|
|
|
|
|
|
time_format = '%d/%b/%Y:%H:%M:%S +0100'
|
|
|
|
|
|
|
|
pre_analysis_hooks = []
|
|
|
|
post_analysis_hooks = []
|
|
|
|
display_hooks = []
|
|
|
|
|
2014-11-27 12:34:42 +01:00
|
|
|
pages_extensions = ['/', 'htm', 'html', 'xhtml', 'py', 'pl', 'rb', 'php']
|
2014-11-26 16:17:16 +01:00
|
|
|
viewed_http_codes = [200, 304]
|
2014-11-27 09:01:51 +01:00
|
|
|
|
|
|
|
count_hit_only_visitors = True
|
2014-11-27 12:34:42 +01:00
|
|
|
|
|
|
|
multimedia_files = ['png', 'jpg', 'jpeg', 'gif', 'ico',
|
|
|
|
'css', 'js']
|