diff --git a/conf.py b/conf.py index 823671d..e06aa5b 100644 --- a/conf.py +++ b/conf.py @@ -1,6 +1,6 @@ # Web server log -analyzed_filename = '/var/log/apache2/soutade.fr_access.log' +analyzed_filename = '/var/log/apache2/access.log.1,/var/log/apache2/access.log' # Domain name to analyze domain_name = 'soutade.fr' @@ -17,7 +17,7 @@ display_hooks = ['track_users', 'top_visitors', 'all_visits', 'referers', 'top_p reverse_dns_timeout = 0.2 # Count this addresses as hit -page_to_hit_conf = [r'^.+/logo[/]?$', r'^.+/search[/]?.*$'] +page_to_hit_conf = [r'^.+/logo[/]?$'] # Count this addresses as page hit_to_page_conf = [r'^.+/category/.+$', r'^.+/tag/.+$', r'^.+/archive/.+$', r'^.+/ljdc[/]?$', r'^.+/source/tree/.*$', r'^.+/source/file/.*$', r'^.+/search/.+$'] @@ -25,17 +25,13 @@ hit_to_page_conf = [r'^.+/category/.+$', r'^.+/tag/.+$', r'^.+/archive/.+$', r'^ max_hits_displayed = 100 max_downloads_displayed = 100 -# Compressed files -compress_output_files = ['html', 'css', 'js'] +compress_output_files = ['html', 'css', 'js', 'xml'] -# Locale in French -locale = 'fr' +#locale = 'fr' # Tracked IP -tracked_ip = ['82.232.68.211'] +tracked_ip = ['192.168.1.1'] -# Feed url feeds = [r'^.*/atom.xml$', r'^.*/rss.xml$'] -# Consider xml files as multimedia (append to current list) -multimedia_files_append = ['xml'] +multimedia_file_append = ['xml']