From: Igor GaliÄ <i.galic@xxxxxxxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx
Sent: Sat, January 29, 2011 6:39:18 AM
Subject: Re: [users@httpd] problem with extra numbers after %h hostname/ip address in
access_log
----- "Randy Tejas" <
randytejas@xxxxxxxxx> wrote:
> Sorry I do not have control over software version as it is in a global
> solaris zone.
>
> I have been restarting with svcadm restart svc:/network/http:apache2
> or
> /usr/apache2/bin/apachectl restart
Brrr... right.. Solaris stock Apache httpd is.. after all 30923804
years old. At a rough estimate. But that's probably not to blame here.
> and it doesn't help.
>
> Netstat shows the right ip addresses:
>
> [root@cgappd81 logs]# netstat -an | grep '\.80'
> *.80 *.* 0 0 49152 0 LISTEN
> 10.62.32.67.80 10.56.232.162.3233 65530 0 50400 0 ESTABLISHED
> *.80 *.* 0 0 49152 0 LISTEN
> [root@cgappd81 logs]#
>
> The only change I have made to the conf file is to try to
troubleshoot
> %h and the problem is contained therein. How is that variable created?
> (environment variable?)
>
> I did just find that the problem crops up when you look at the env
> variables using perl.
>
> REMOTE_ADDR = 10.56.232.162232.162
> SERVER_ADDR = 10.62.32.672.32.67
>
> but not on
> HTTP_HOST = 10.62.32.67
> SERVER_NAME = 10.62.32.67
>
> FWIW the first entry where the problem happens: 10.56.194.252194.252 -
> - [10/Jan/2011:16:57:37 -0600] "GET
> > /images/search/ac_collectio
>
> there is no such /images directory or /images/search/ac_etc. but they
> got the appropriate 404.
From this I assume that it doesn't happen in the error log either.
i
--
Igor GaliÄ
Tel: +43 (0) 664 886 22 883
Mail:
i.galic@xxxxxxxxxxxxxxURL:
http://brainsware.org/---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:
http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail:
users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest:
users-digest-unsubscribe@xxxxxxxxxxxxxxxxFor additional commands, e-mail:
users-help@xxxxxxxxxxxxxxxx