httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "K Anand" <>
Subject [users@httpd] Basic Authentication over reverse proxy
Date Fri, 17 Jun 2005 05:51:58 GMT
I want to do basic authentication with reverse proxy...My relevant config is
as follows :

ProxyRequests Off
<Directory proxy:*>
    Order deny,allow
    Deny from all
    Allow from all

<Directory proxy:/xxx/>
    AuthType Basic
    AuthName "By Invitaion Only"
    AuthUserFile /etc/httpd/conf/passwd/passwords
    Require valid-user

ProxyPass             /xxx/               http://a.b.c.d/xxx
ProxyPassReverse /xxx/               http://a.b.c.d/xxx

File /etc/httpd/conf/passwd/passwords exists with one user name and
When I try basic auth for a normal dir, it works. It asks me for a user id
and password. But when I tried with proxied dir, it does not ask me .

order of loading of modules is as follows :

LoadModule proxy_module       modules/
LoadModule auth_module        modules/

AddModule mod_proxy.c
AddModule mod_auth.c

Apache/1.3.27 (Unix)  (Red-Hat/Linux)

What could the problem be ?  Any pointers would be appreciated.


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