[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] webalizer problems log files RaQ3



At 14:45 25/07/00 +0100, Sales - Way to the Web wrote:
Hello Barry,

> I installed the package from the cobalt site looks nice.
> (thanks who ever
> did this) however I see a problem in that it dont ever
> display the hostname
> of the users that hit the site. This is not a fault with the
> webalizer
> program but I think the Apache that runs on the RaQ3. I dont
> think it knows
> how to do dns lookup to find a hostname from the calling IP address.
> is that a config problem How do you get Apache on RaQ3's to
> write log files
> with host.domain.names etc instead of IP Addresses.

I just found the same issue with one of our RaQ3's. You need to edit your
/etc/httpd/conf/httpd.conf (make a safe copy of it first), and change the
line:

Okay Thanks that makes the Apache work a bit harder and thus slower. there is a patch for Webalizer that makes that do the Reverse DNS stuff. Maybe to have a look at that as well.
also there is now Version 2.0 out that has all that fixed..

But I take your call and make the changes for now. to the httpd.conf

Barry



HostnameLookups off

to:

HostnameLookups on

It'll now work for future logs. It obviously doesn't do it retrospectively
and you should restart httpd too to have Apache load the new conf file.

Regards,
Jonathan Michaelson

Way to the Web Ltd
Commercial CGI Scripting, Web Hosting
http://www.waytotheweb.com


_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers


----------------------------------------------------------------------------------------------------------
Barry Titmarsh BMT1-RIPE           Nacamar Ltd (Sheringham Office)
                                                  Knole House 38 Cromer Rd
                                                  Sheringham Norfolk NR268RR
e-mail: barry@xxxxxxxxxxxxxx      voice: +44-1263-821-844
www: www.nacamar.net.uk
----------------------------------------------------------------------------------------------------------