[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SLUG] Apache logs
Peter Vogel wrote:
>
> How do I get some interesting reports (e.g. visits per page) from
> Apache? Redhat 5.1. Please bear in mind I am a complete novice at Unix.
Might be easier to just set up a page counter (you can make them
invisible).
Alternatively, something like;
grep GET /var/log/httpd/access_log |grep -v HTTP | grep -v cgi-bin|
sort > access-list. Then count the number of entries for each page.
I'm sure someone can pop out a perl script for the counter.
--
Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861
email: terryc@nospam.woa.com.au www: http://www.woa.com.au
WOA Computer Services <lan/wan, linux/unix, novell>
snail: PO Box 1047, Campbelltown, NSW 2560.
"People without trees are like fish without clean water"
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text