Re: [squid-users] Real IP address

From: Fernando Giorgetti <fgiorgetti@dont-contact.us>
Date: Mon, 3 Feb 2003 14:56:36 -0200

Ok, this is right! Thanks !!!

Em Sex 31 Jan 2003 20:59, Henrik Nordstrom escreveu:
> E-mail Premium BOL
> Antivírus, anti-spam e até 100 MB de espaço. Assine já!
> http://email.bol.com.br/
> Squid saves the clients IP address in the custom X-Forwarded-For HTTP
> header. Just use the last element of HTTP_X_FORWARDED_FOR instead of
> REMOTE_ADDRESS in your application.
>
>
> Note: The header may contain a list of IP addresses if the user has
> passed via a chain of Squid proxies.
>
> Regards
> Henrik
>
> fgiorgetti wrote:
> > Hi All,
> >
> > I have a squid running on port 3128 and a apache server
> > on port 80 / 1001 of the same machine.
> > My users is using his http_proxy server as
> > <MYIPADDR>:3128 and its fine.
> >
> > But in my web server I have an application that needs
> > the clients real ip address, and its getting the proxy
> > server ipaddr. (ok, I know that its right :) )
> >
> > What can I do to get the client real ip address in my
> > web application or to bypass the proxy when the client
> > try to access the ports 80 / 1001 of my web server ?
> >
> > Thanks.
> >
> > Fernando Giorgetti
> >
> >
> > _________________________________________________________________________
> >_ E-mail Premium BOL
> > Antivírus, anti-spam e até 100 MB de espaço. Assine já!
> > http://email.bol.com.br/
Received on Mon Feb 03 2003 - 09:53:23 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:13 MST