On Tue, May 17, 2011 at 12:16 PM, --[ UxBoD ]-- <ux...@splatnix.net> wrote:
> Hi,
> I have been experimenting with Apache running on port 80 and then proxying
> to a second instance on 8080; the second instance being chrooted. All is
> working great except .htaccess due to it being processed by the second httpd
> instance which sees all connections coming from 127.0.0.1. Is there any way
> around this or should I move the restrictions directly into the httpd.conf ?
> --
> Thanks, Phil
>
>

Thats because the connections *do* come from 127.0.0.1 . There are a
number of 3rd party modules (well, mod_remoteip is apache 2.3+) that
will update the apache request so that it appears to come from the IP
that the first apache puts in X-Forwarded-For.

mod_rpaf2
mod_remoteip

Cheers

Tom

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to