httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Pierre Bergamin <>
Subject [users@httpd] Reverse proxy with digest auth to a webapp with basic auth
Date Thu, 27 Jan 2011 13:34:49 GMT
Hello everyone

We are using apache's mod_proxy (reverse proxy) to make two internal 
webapps available over the internet. It works fine so far.

We now tried to use digest authentication on the proxy to secure the 
access to the proxy itself. One webapp has no problem with that 
approach. You first have to enter the username and passwort of the 
digest auth of the proxy and then you can access the webapp and login 
there as usual.

The other application though is using basic auth - which does not work. 
You first have to enter the username and passwort of the proxy - good. 
Then you have to enter the username and password of the app. Now the 
browser falls into an infinte loop, where it sends always just the 
authentication of the proxy digest auth and gets back a 401 from the 
webapp behind the proxy, because this one does not expect the digest 
auth, but the basic auth.

Is there any "pattern" how digest and/or basic auth can be used for the 
reverse proxy itself and for the proxied webapp?

Best regards,

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