From 389679cdb432031e304a221e5fab063f23501993 Mon Sep 17 00:00:00 2001 From: Gregory Soutade Date: Wed, 8 Apr 2015 14:06:03 +0200 Subject: [PATCH] Conf.py --- conf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conf.py b/conf.py index 9db8439..b40e810 100644 --- a/conf.py +++ b/conf.py @@ -1,6 +1,6 @@ # Web server log -analyzed_filename = '/var/log/apache2/access.log' +analyzed_filename = '/var/log/apache2/soutade.fr_access.log' # Domain name to analyze domain_name = 'soutade.fr' @@ -11,7 +11,7 @@ display_visitor_ip = True # Hooks used pre_analysis_hooks = ['page_to_hit', 'robots'] post_analysis_hooks = ['referers', 'top_pages', 'top_downloads', 'operating_systems', 'browsers', 'feeds', 'hours_stats', 'reverse_dns'] -display_hooks = ['track_users', 'top_visitors', 'all_visits', 'referers', 'top_pages', 'top_downloads', 'referers_diff', 'operating_systems', 'browsers', 'feeds', 'hours_stats'] +display_hooks = ['track_users', 'top_visitors', 'all_visits', 'referers', 'top_pages', 'top_downloads', 'referers_diff', 'operating_systems', 'browsers', 'feeds', 'hours_stats', 'top_downloads_diff'] # Reverse DNS timeout reverse_dns_timeout = 0.2 @@ -19,7 +19,7 @@ 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[/]?$', r'^.+/source/tree/.*$', r'^.+/source/file/.*$', r'^.+/search/1$'] +hit_to_page_conf = [r'^.+/category/.+$', r'^.+/tag/.+$', r'^.+/archive/.+$', r'^.+/ljdc[/]?$', r'^.+/source/tree/.*$', r'^.+/source/file/.*$', r'^.+/search/.+$'] # Because it's too long to build HTML when there is too much entries max_hits_displayed = 100 @@ -32,7 +32,7 @@ compress_output_files = ['html', 'css', 'js'] locale = 'fr' # Tracked IP -tracked_ip = ['192.168.0.1'] +tracked_ip = ['82.232.68.211'] # Feed url feeds = [r'^.*/atom.xml$', r'^.*/rss.xml$']