> 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, [EMAIL PROTECTED] ; 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

Reply via email to