Mailing List Archive

How to configure Auth digest?
Hello

I try to implement digest authentication on Apache.

The architecture is the following :
Server A is the client
Server B is the proxy (a API solution which only transmits the request as a proxy)
Server C is my Apache server where I configure the Digest authentification

I have the following error, when my client try to connect to my Apache through the proxy :
uri mismatch - </proxy/uri> does not match request-uri </request/uri>

because the client (server A) send the following parameter for the authentication
Digest username="client", realm="Test", nonce="xxxxxx", uri="/proxy/uri", cnonce="xxxx=", nc=xxxx, qop=auth, response="xxx", algorithm=MD5\r\n

The client (server A) send the proxyuri, and the Apache server (server C) waiting for the nginxuri.

Do you know which parameter, I need to add in my Apache configuration to perform the connection ?
Or Do you know, if it's possible to implement Digest authentication on Apache behind a proxy ?

For your information, the direct connection Client to Apache server with Digest authentication works fine.


Thanks for your help,