actual IP not logged when requests come forwarded by a reverse proxy

2011-02-18 Thread Tapas Mishra
My apache2.conf
http://pastebin.com/uTVKt1wD
and apacche vhost file
http://pastebin.com/QDd3LDZ4
the apche2.conf and vhost file I gave the link are the machine on LAN
where site is actually hosted.
When some one from internet access the site then I expect a log of IP in
access.log
instead of which I see the IP of machine which is working as Reverse
Proxy server for all such requests.
What mistake did I do above.

--

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: actual IP not logged when requests come forwarded by a reverse proxy

2011-02-18 Thread Dan Sheffner
Tapas,

http://stderr.net/apache/rpaf/

you want to enable this module and configure it correctly.

On Fri, Feb 18, 2011 at 10:20 AM, Tapas Mishra mightydre...@gmail.comwrote:

 My apache2.conf
 http://pastebin.com/uTVKt1wD
 and apacche vhost file
 http://pastebin.com/QDd3LDZ4
 the apche2.conf and vhost file I gave the link are the machine on LAN
 where site is actually hosted.
 When some one from internet access the site then I expect a log of IP in
 access.log
 instead of which I see the IP of machine which is working as Reverse
 Proxy server for all such requests.
 What mistake did I do above.

 --

 --
 ubuntu-server mailing list
 ubuntu-server@lists.ubuntu.com
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
 More info: https://wiki.ubuntu.com/ServerTeam

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Re: actual IP not logged when requests come forwarded by a reverse proxy

2011-02-18 Thread Tapas Mishra
On Fri, Feb 18, 2011 at 9:57 PM, Dan Sheffner dsheff...@gmail.com wrote:
 Tapas,

 http://stderr.net/apache/rpaf/

 you want to enable this module and configure it correctly.

Really awesome information Dan.I did not knew it.

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam