|
Home > Archive > Perlbal > December 2007 > Help regarding perlbal as a reverse proxy
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Help regarding perlbal as a reverse proxy
|
|
| kevin fernandes 2007-12-07, 1:12 am |
| Hi All,
I am Kevin Fernandes. Working as a system admin. I have configured perlbal
as a reverse-proxy server for serving web request. However i have one
problem. The web-server (access.log) logs on the individual web-servers
shows the IP of the perlbal server and not the Client IP (REMOTE HOST IP)
that requested the URL. I have not found any documenation with regards to
the configuration. Any help on this is issue will be helpful. Awaiting your
feed back.
Regards,
Kevin Fernandes
| |
| Ask Bjørn Hansen 2007-12-07, 1:12 am |
|
On Dec 6, 2007, at 8:30 PM, kevin fernandes wrote:
> Hi All,
>
> I am Kevin Fernandes. Working as a system admin. I have configured
> perlbal as a reverse-proxy server for serving web request. However i
> have one problem. The web-server (access.log) logs on the individual
> web-servers shows the IP of the perlbal server and not the Client IP
> (REMOTE HOST IP) that requested the URL. I have not found any
> documenation with regards to the configuration. Any help on this is
> issue will be helpful. Awaiting your feed back.
You need to make your web-server read the X-Forwarded-For header and
get the "remote IP" from there.
For Apache 1.3.x and 2.0.x:
http://stderr.net/apache/rpaf/
For Apache 2.2.x (I think this is the one I use for 2.2.x anyway):
http://www.openinfo.co.uk/apache/index.html
- ask
--
http://develooper.com/ - http://askask.com/
|
|
|
|
|