[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] Using ip2host w/webalizer (was HELP!)
- Subject: [cobalt-developers] Using ip2host w/webalizer (was HELP!)
- From: John Keegan <john@xxxxxxxxxxxxx>
- Date: Fri Sep 21 21:18:53 2001
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
> Has anyone figured out a safe way to allow everyone to read the stats?
> Will just deleting the .htaccess file do that?
Yes, that will do it temporarily, but in order to prevent the webalizer perl
script from recreating the file, you should just use an empty .htaccess file
instead of deleting it.
> And finally... will it tell us where in the world people are browsing in
> from, or will it still find that 100% of the browsers are from that huge
> country I've never seen in my atlas, "Unknown"?
Try installing ip2host on your machine:
http://freshmeat.net/projects/ip2host/
This is a fast script which can resolve the IP addresses in your existing
log files. I use this script to resolve the parsed log file for each virtual
site to a temp file, then have webalizer run against that file instead of
the regular log file, then remove the temp file. Now your stats will display
the country names instead of getting the 100% unknown thing.
I just posted this version of the 1.3 script at:
http://www.rackshare.com/raqdev/
Hope this helps.
--
John Keegan
john@xxxxxxxxxxxxx
http://RackShare.com