iwla

iwla Git Source Tree

Root/conf.py

1
2# Web server log
3analyzed_filename = '/var/log/apache2/access.log'
4
5# Domain name to analyze
6domain_name = 'soutade.fr'
7
8# Display visitor IP in addition to resolved names
9display_visitor_ip = True
10
11# Hooks used
12pre_analysis_hooks = ['page_to_hit', 'robots']
13post_analysis_hooks = ['referers', 'top_pages', 'top_downloads', 'operating_systems', 'browsers', 'feeds', 'reverse_dns']
14display_hooks = ['track_users', 'top_visitors', 'all_visits', 'referers', 'top_pages', 'top_downloads', 'referers_diff', 'operating_systems', 'browsers', 'feeds']
15
16# Reverse DNS timeout
17reverse_dns_timeout = 0.2
18
19# Count this addresses as hit
20page_to_hit_conf = [r'^.+/logo[/]?$']
21# Count this addresses as page
22hit_to_page_conf = [r'^.+/category/.+$', r'^.+/tag/.+$', r'^.+/archive/.+$', r'^.+/ljdc[/]?$', r'^.+/source/tree/.*$', r'^.+/source/file/.*$', r'^.+/search/1$']
23
24# Because it's too long to build HTML when there is too much entries
25max_hits_displayed = 100
26max_downloads_displayed = 100
27
28# Compressed files
29compress_output_files = ['html', 'css', 'js']
30
31# Locale in French
32locale = 'fr'
33
34# Tracked IP
35tracked_ip = ['192.168.0.1']
36
37# Feed url
38feeds = [r'^.*/atom.xml$', r'^.*/rss.xml$']
39
40# Consider xml files as multimedia (append to current list)
41multimedia_files_append = ['xml']

Archive Download this file

Branches

Tags