CHRYSt has asked for the wisdom of the Perl Monks concerning the following question:
Ok, This seems simple, but I can't find any code out there that already does what I need, and I'm still not very good with perl.
what I need to do is generate a report once a month that shows the number of hits to specific directories. Basically, all I need is:
http://www.domain.com/directory/subdir1/ 500 hits
http://www.domain.com/directory/subdir2/ 550 hits
etc.
I've looked into Apache::ParseLog, but it doesn't work. Every time I try to open my log file ( using $log = $base->getCustomLog("combined"); ), I get
Apache::ParseLog::getCustomLog: combined does not exist, Exiting at report.pl line 10.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Yet another Apache log question
by barrd (Canon) on Dec 16, 2003 at 17:35 UTC | |
by CHRYSt (Acolyte) on Dec 16, 2003 at 18:08 UTC | |
by barrd (Canon) on Dec 16, 2003 at 18:24 UTC | |
by CHRYSt (Acolyte) on Dec 16, 2003 at 19:13 UTC | |
by barrd (Canon) on Dec 16, 2003 at 19:33 UTC | |
Re: Yet another Apache log question
by tachyon (Chancellor) on Dec 17, 2003 at 02:09 UTC |
Back to
Seekers of Perl Wisdom