PDA

View Full Version : Webalizer Stats for an Individual Folder



MacToph
12-12-2003, 11:44 AM
If any of you are interested in obtaining log analysis stats on a single folder of your website, it's pretty easy to do.
You are going to have to change some values in the config file for the instance of webalizer that you want to use to report stats on the folder. You can do this when setting up a new instance or go back and edit the webalizer.conf file located at:
/var/www/html/cgi-bin/plugins/Webalizers/nameofreport/webalizer.conf

The 2 additions that you need to make are:
add /* to the IgnoreURL command
add /directoryname/* to the IncludeURL command

So the 2 lines would look like:
Ignore URL /*
Include URL /directoryname/*

Be aware that if you go into an instance of webalizer that is already set up and make these changes It only applies them from that point on, so it is best to do a clean setup.

There are a couple of other (more efficient) ways of doing it as well that you can read about here:
http://groups.yahoo.com/group/webalizer/message/2220
I stuck with this one because it was the easiest...

Good luck,
Christopher

spellow
01-21-2004, 10:19 AM
I tried this and It did not work....anybody else got any advice?

spellow
01-21-2004, 11:22 AM
Hmmm....I wonder if it's not working because I don't have folders, I have subwebs since I'm using frontpage.