OpenVZ Forum


Home » General » Support » Apache guest logs VZ host IP instead of remote IP [INVALID] (Apache guest log files don't show remote IP addresses)
Apache guest logs VZ host IP instead of remote IP [INVALID] [message #37508] Sun, 20 September 2009 14:31 Go to next message
VinzC is currently offline  VinzC
Messages: 14
Registered: December 2008
Junior Member
Hi all.

I've installed apache2 under Debian in an OpenVZ guest -- the host is Gentoo. My problem is Apache logs only show OpenVZ host IP address in the remote host IP column -- hence I never know where my visitors come from. Is there something I can do to have the actual remote host IP address?

Thanks in advance for any hint/suggestion.

Kernel: sys-kernel/openvz-sources-2.6.18.028.053-r2
Tools: sys-cluster/vzctl-3.0.22


Vince C.

[Updated on: Wed, 28 October 2009 19:16]

Report message to a moderator

Re: Apache guest logs VZ host IP instead of remote IP [INVALID] [message #37865 is a reply to message #37508] Wed, 28 October 2009 19:17 Go to previous message
VinzC is currently offline  VinzC
Messages: 14
Registered: December 2008
Junior Member
After further inspection, remote IP addresses are logged indeed. The VZ server IP address seems to be logged only when machines in the local network browse the site... Wierd still...

Vince C.
Previous Topic: User Beancounters
Next Topic: Adding new block of IPs...
Goto Forum:
  


Current Time: Mon Jul 15 13:48:22 GMT 2024

Total time taken to generate the page: 0.02350 seconds