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

Re: [Sheflug] LogFormat and Apache



On 13 Feb 2001 14:36:40 +0000, =?us-ascii?Q?Jos=E9_Luis_G=F3mez?= Dans wrote:
> This is a quicky,
>       Is there a possibility of specifying a LogFormat parameter to
> log not the remote host's IP address, but its text address. I have %h at
> the moment, but this just logs the IP numbers, not the host.domain.com
> bit.
> 
>       According to the manual, it will do this when possible. What
> controls this possiblity, as it doesn't seem to be doing it at all?


HostnameLookups On

ought to do the trick. Make sure your DNS is setup good, though, 'cos
otherwise you'll b0rk the webserver. Usually good to have it sit behind
a DNS cache as well, if it isn't already.

Cheers,

Alex.
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.