[ILUG-Cochin.org] Require client info at apache webserver........
Vivek Varghese Cherian
vivekcherian at gmail.com
Mon Mar 9 19:09:30 IST 2009
> As for now I am using Redhat linux and not Debianor Ubundu and found out
> that the mentioned log file in "/var/log/httpd/access_log"
> I am supposed to do it with out using any software tools and must use shell
> script for satisfying the requirement.
A combination of cut, uniq, sort, sed and awk can do the trick :-)
As Gejo said, awstats and webalizer are options. I have used awstats
on servers with thousands of web hosting orders and it's really
informative with the statistics it generates, but a huge pain when it
comes to maintaining it as the cron jobs and logrotate parts of
awstats often don't work ( or don't work as you want it to).
I remember countless hours me and my team have spend trouble shooting
awstats issues only to see it re-occur. So be wary of using it unless
absolutely needed.
I havn't used webalizer, so no comments there.
Regards,
--
Vivek Varghese Cherian
Website : http://vivekvc.freeshell.org
Blog: http://vivekvc.wordpress.com
IRC: Vivek and ViveKVC on both Freenode and OFTC
GPG Key fingerprint: 0F53 447E A8D1 C4F7 C14E F117 A040 E935 7DFA D159
More information about the Mailinglist
mailing list