httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <>
Subject Re: [users@httpd] SQUID + APACHE
Date Wed, 18 Feb 2009 23:06:42 GMT
F. wrote:
> Hello I have squid as accelerator, but I have a security problem  with
> IP based access. Apache see all users as localhost.
> Any method to use X-forward-IP in Apache instead of  normal IP?

You could use mod_rewrite to test for the forwarded IP.

But that's an ugly solution.  Better to deal with access control
at the proxy instead.

Anyway, why are you using squid there?  Even if you have a
good reason to use a separate proxy rather than apache's
mod_cache, squid's strength is as a forward proxy.

Nick Kew

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message