Update conf.pt
This commit is contained in:
parent
ce1aa2d7c6
commit
a85be4465e
12
conf.py
12
conf.py
|
@ -1,25 +1,25 @@
|
||||||
|
|
||||||
# Web server log
|
# Web server log
|
||||||
analyzed_filename = '/var/log/apache2/soutade.fr_access.log'
|
analyzed_filename = '/var/log/apache2/access.log'
|
||||||
|
|
||||||
# Domain name to analyze
|
# Domain name to analyze
|
||||||
domain_name = 'soutade.fr'
|
domain_name = 'soutade.fr'
|
||||||
|
|
||||||
# Display visitor IP in addition to resolved names
|
# Display visitor IP in addition to resolved names
|
||||||
display_visitor_ip = True
|
#display_visitor_ip = True
|
||||||
|
|
||||||
# Hooks used
|
# Hooks used
|
||||||
pre_analysis_hooks = ['page_to_hit', 'robots']
|
pre_analysis_hooks = ['page_to_hit', 'robots']
|
||||||
post_analysis_hooks = ['referers', 'top_pages', 'top_downloads', 'operating_systems', 'browsers'] #, 'reverse_dns']
|
post_analysis_hooks = ['referers', 'top_pages', 'top_downloads', 'operating_systems', 'browsers', 'reverse_dns']
|
||||||
display_hooks = ['top_visitors', 'all_visits', 'referers', 'top_pages', 'top_downloads', 'referers_diff', 'operating_systems', 'browsers']
|
display_hooks = ['top_visitors', 'all_visits', 'referers', 'top_pages', 'top_downloads', 'referers_diff', 'operating_systems', 'browsers']
|
||||||
|
|
||||||
# Reverse DNS timeout
|
# Reverse DNS timeout
|
||||||
reverse_dns_timeout = 0.2
|
reverse_dns_timeout = 0.2
|
||||||
|
|
||||||
# Count this addresses as hit
|
# Count this addresses as hit
|
||||||
page_to_hit_conf = [r'^.+/logo[/]?$']
|
#page_to_hit_conf = [r'^.+/logo[/]?$']
|
||||||
# Count this addresses as page
|
# Count this addresses as page
|
||||||
hit_to_page_conf = [r'^.+/category/.+$', r'^.+/tag/.+$', r'^.+/archive/.+$', r'^.+/ljdc[/]?$', r'^.+/source/tree/.*$']
|
#hit_to_page_conf = [r'^.+/category/.+$', r'^.+/tag/.+$', r'^.+/archive/.+$', r'^.+/ljdc[/]?$', r'^.+/source/tree/.*$']
|
||||||
|
|
||||||
# Because it's too long to build HTML when there is too much entries
|
# Because it's too long to build HTML when there is too much entries
|
||||||
max_hits_displayed = 100
|
max_hits_displayed = 100
|
||||||
|
@ -27,5 +27,5 @@ max_downloads_displayed = 100
|
||||||
|
|
||||||
compress_output_files = ['html', 'css', 'js']
|
compress_output_files = ['html', 'css', 'js']
|
||||||
|
|
||||||
locale = 'fr'
|
#locale = 'fr'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user