23 lines
665 B
Python
23 lines
665 B
Python
|
|
# Web server log
|
|
analyzed_filename = 'access.log'
|
|
|
|
# Domain name to analyze
|
|
domain_name = 'soutade.fr'
|
|
|
|
# Display visitor IP in addition to resolved names
|
|
display_visitor_ip = True
|
|
|
|
# Hooks used
|
|
pre_analysis_hooks = ['page_to_hit', 'robots']
|
|
post_analysis_hooks = ['referers', 'top_pages', 'top_downloads', 'top_hits']
|
|
display_hooks = ['top_visitors', 'all_visits', 'referers', 'top_pages', 'top_downloads', 'top_hits']
|
|
|
|
# Reverse DNS timeout
|
|
reverse_dns_timeout = 0.2
|
|
|
|
# Count this addresses as hit
|
|
page_to_hit_conf = [r'^.+/logo[/]?$']
|
|
# Count this addresses as page
|
|
hit_to_page_conf = [r'^.+/category/.+$', r'^.+/tag/.+$', r'^.+/archive/.+$', r'^.+/ljdc[/]?$']
|