Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Summary-Talk] [OT, but related] Apache Log Mystery
On 1/29/04 11:01 PM Bruce O'Leary (bruce@peacemakercircle.org) wrote: >I'm a bit stumped. I want my Apache logs to record the "Host name or IP >address of the client" as is supposed to happen when using either the >NCSA combined log format or the %h variable in a manually configured >log format. However, what I get in its place is only the IP address of >my server. You are probably running some kind of reverse proxy cache or a NAT between the real world and your copy of Apache. That would cause Apache to see the address of the local machine, instead of the address of the visitor, as the source of the request. This happens nearly automatically on OS X (they call it the performance cache), while it is rarer on other systems. On OS X you need to carefully follow the directions in the httpd.conf file about how to correctly set up logging if you have used anything other than Apple's graphical setup utility to configure the server. Editing the config file directly can cause serious problems if you ever subsequently launch the Apple setup utility. On other systems, you need to find out what reverse proxy cache, or other similar system, you are running, and follow it's directions on how to configure logging. By the by, if you are logging agent strings, Summary will still make usable estimates of the visit counts based on the agent strings, even if the host name is always the same. Having true visitor host IP/names will improve things of course. Good Luck Jason ----------------- Jason@Summary.Net ----------------- Dr. Seuss books . . . can be read and enjoyed on several levels. For example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed as a searing indictment of the narrow-minded binary counting system. -- Peter van der Linden, Expert C Programming, Deep C Secrets ----------------- Jason@Summary.Net ----------------- Dr. Seuss books . . . can be read and enjoyed on several levels. For example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed as a searing indictment of the narrow-minded binary counting system. -- Peter van der Linden, Expert C Programming, Deep C Secrets ------------- Go to <http://summary.net/list.html> to update subscription info.
|