Search squid archive

Re: Squid2.6 Reverse Proxy question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> lör 2007-01-13 klockan 16:58 +0800 skrev Tin:
> 
> > May I know how to let real http servers see the client's IP (for php access
> > control) in reverse proxy mode ? do squid2.6 have this feature?

On 13.01.07 12:41, Henrik Nordstrom wrote:
> Squid always sends the client IP in the X-Forwarded-For header,
> available to PHP and other scripting languages.

unless you have 'forwarded_for off' directive in your config file, or deny
forwarded_for via 'header_access' directive.
-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Due to unexpected conditions Windows 2000 will be released
in first quarter of year 1901

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux