httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Reverse proxy with authentication
Date Tue, 16 Sep 2003 17:40:53 GMT

On Tue, 16 Sep 2003, Jeff Simmons wrote:

> I have an apache installation which is only doing a reverse proxy for an
> internal mail server.  I'm using the commands ProxyPass and ProxyPassReverse,
> and it works quite well.  I'd like to add basic authentication to this
> (username, password), but the proxying appears to happen before the auth
> commands, which seem to be directory based, kick in.
>
> Is there a way around this to allow a reverse proxy with authentication, or
> do I need to go to mod_rewrite to get this to work?

<Directory> addresses physical directories on the local computer.  Hence
it will have no effect on proxies.

You can use <Location> or <Proxy> (<Directory proxy:> in 1.3) instead.
See the docs on these directives.

Joshua.

---------------------------------------------------------------------
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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message