Hello,
        I've got apache 1.3.9 running on my box, and everything works
fine, except for one minor problem with access logging. Instead of the
fully-qualified domain name of the client, it only gives me the IP. I see
no reason why it shouldn't be giving me the domain name. According to the
docs, it should only give me the IP when it can't find the host name. Is
there some special command that I need to install?? I have host and
nslookup, both of which can find hostnames just fine for me. And
/etc/resolv.conf is 644.

The relevant part of my httpd.conf is below:



# The following directives define some format nicknames for use with
# a CustomLog directive (see below).

LogFormat "%h %l %u %t \"%r\" %>s %b
\"%{Referer}i\" \"%{User-Agent}i\"" combine
d
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

# The location of the access logfile (Common Logfile Format).
# If this does not start with /, ServerRoot is prepended to it.

CustomLog /var/log/httpd/access_log combined




If anybody could shed some insight into this, I'd be very grateful. It's
not a major problem, but something that is quite annoying.

Thank you very much,
MZhang

---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to