Re: [squid-users] Squid2.6 Reverse Proxy question

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Wed, 17 Jan 2007 22:35:24 +0100

> 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@fantomas.sk ; 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
Received on Wed Jan 17 2007 - 14:35:29 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST