Web Servers General Talk - apache server logs and webalizer

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers General Talk > January 2004 > apache server logs and webalizer





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author apache server logs and webalizer
John Ryan

2004-01-19, 6:32 am

in my webalizer, for some reason, it doeesnt tell me where the people
visiting my site r from. it just says unknown. on other hosts, it did
tell me. do ive to change something in the apache conf file or
something???? also, it only tells me the top 15 user agents and search
strings. i want to see everything! before, in webalizer, on my old
host, i could do that as well
Edward Alfert

2004-01-19, 6:32 am

celticfc@iol.ie (John Ryan) wrote in
news:b4b6a163.0312160735.137d96fa@posting.google.com:
quote:

> in my webalizer, for some reason, it doeesnt tell me where the people
> visiting my site r from. it just says unknown. on other hosts, it did
> tell me. do ive to change something in the apache conf file or
> something????
>



Make sure you have the following in webalizer.conf:

# DNSCache specifies the DNS cache filename to use for reverse DNS lookups.
# This file must be specified if you wish to perform name lookups on any IP
# addresses found in the log file. If an absolute path is not given as
# part of the filename (ie: starts with a leading '/'), then the name is
# relative to the default output directory. See the DNS.README file for
# additional information.

DNSCache /var/lib/webalizer/dns_cache.db



or alternatively, you might want to try turning on HostnameLookups in
httpd.conf:

# HostnameLookups: Log the names of clients or just their IP addresses
# e.g., www.apache.org (on) or 204.62.129.132 (off).
# The default is off because it'd be overall better for the net if people
# had to knowingly turn this feature on, since enabling it means that
# each client request will result in AT LEAST one lookup request to the
# nameserver.
#
HostnameLookups On


quote:

> also, it only tells me the top 15 user agents and search
> strings. i want to see everything! before, in webalizer, on my old
> host, i could do that as well



You can override default settings in webalizer.conf:

# The "Top" options below define the number of entries for each table.
# Defaults are Sites=30, URL's=30, Referrers=30 and Agents=15, and
# Countries=30. TopKSites and TopKURLs (by KByte tables) both default
# to 10, as do the top entry/exit tables (TopEntry/TopExit). The top
# search strings and usernames default to 20. Tables may be disabled
# by using zero (0) for the value.

#TopSites 30
#TopKSites 10
#TopURLs 30
#TopKURLs 10
#TopReferrers 30
#TopAgents 15
#TopCountries 30
#TopEntry 10
#TopExit 10
#TopSearch 20
#TopUsers 20


--
Edward Alfert
http://www.rootmode.com/
Multiple Domain Hosting * Reseller Hosting
Free IP Addresses * Private Label Nameservers
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com