Changes

From SME Server
Jump to navigationJump to search
633 bytes added ,  23:25, 23 April 2009
no edit summary
Line 6: Line 6:  
==Description==
 
==Description==
   −
smeserver-dansguardian-stats provides a web statistics interface to the results of the content filtering provided by Dansguardian. Its a prerequisite that dansguardian and the smeserver-dansguardian contribs have been installed.
+
smeserver-dansguardian-stats provides a web statistics interface to the results of the content filtering provided by Dansguardian. Its a prerequisite that dansguardian and the smeserver-dansguardian contribs have been installed. See http://wiki.contribs.org/Dansguardian for install details.
    
[[Image:Dansguardian-stats.jpg]]
 
[[Image:Dansguardian-stats.jpg]]
Line 25: Line 25:  
   
 
   
 
==Configuration==
 
==Configuration==
 +
The package requires that the logfileformat for dansguardian is set to format 4 (in /etc/dansguardian/dansguardian.conf) and I have not thoroughly tested with other format so funny parsing errors might occur.
 +
 +
# Log File Format
 +
# 1 = DansGuardian format (space delimited)
 +
# 2 = CSV-style format
 +
# 3 = Squid Log File Format
 +
# 4 = Tab delimited
 +
logfileformat = 4
 +
 +
If you ran with a different logfileformat before then delete the log file and restart dansguardian.
 +
 +
/etc/init.d/dansguardian stop
 +
rm /var/log/dansguardian/access.log
 +
/etc/init.d/dansguardian stop
 +
 
When installed, the web interface is is accessible form:
 
When installed, the web interface is is accessible form:
  
177

edits

Navigation menu