On Wed, Nov 16, 2011 at 12:26 AM, Boris B <bb14553@xxxxxxxxxxx> wrote: > > > Hi, > > I have a very simple setup: Apache back-end server running behind Apache reverse proxy server. > Using 2.2.21 and running on Windows XP. > > Generally, it is working as expected - traffic reaching back-end via proxy and responses from back-end server returning to the client. > Basic and Digest authentication working fine (based on AuthType value) > > The problem: When I send wrong credentials, proxy server replies with error 401 instead of 407, and sending "Authentication" header instead of "Proxy-Authentication" header. > Why is that unexpected? It's a reverse proxy, not a forward proxy. It would only send Proxy-Authentication if it was a forward proxy. 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-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx