Re: [users@httpd] Mod_proxy: Authentication-Info header lost in response

2013-03-28 Thread Nick Kew
On Thu, 28 Mar 2013 16:21:56 +0100 Nicolas Daniels wrote: > Hi, > > I finally solved the problem myself by modifying the source code of > mod_proxy_http.c: Thanks! I started to compose a reply yesterday, then decided I should look at it first to determine whether it's a bug. I might end up a

Re: [users@httpd] Mod_proxy: Authentication-Info header lost in response

2013-03-28 Thread Nicolas Daniels
Hi, I finally solved the problem myself by modifying the source code of mod_proxy_http.c: Line 1697: apr_table_do(addit_dammit, save_table, r->headers_out, "Set-Cookie", NULL); --> apr_table_do(addit_dammit, save_table, r->headers_out, "Set-Cookie", "Authentication-Info", NULL); Cheers On

Re: [users@httpd] Mod_proxy: Authentication-Info header lost in response

2013-03-27 Thread Nicolas Daniels
Ok, I was probably not clear enough ;-) First I'm using mod_proxy_http and DIGEST authentication. Authentication-Info header is part of digest authentication: http://rfc-ref.org/RFC-TEXTS/2069/chapter2.html Lets say I've 2 accessed URLs: http://mydomain.com/index.html http://mydomain.com/tomc

Re: [users@httpd] Mod_proxy: Authentication-Info header lost in response

2013-03-27 Thread Nick Kew
On 27 Mar 2013, at 11:39, Nicolas Daniels wrote: > Everything work fine except that when the proxy is used, the > Authentication-Info header is not included in the response. If Apache is > replying directly without using the proxy, it is included. There's no such header in HTTP. Why not tell

[users@httpd] Mod_proxy: Authentication-Info header lost in response

2013-03-27 Thread Nicolas Daniels
Ho I forgot, I'm using mod_proxy_http and auth_digest. Hi all, I've setup my apache (2.4.4) with mod_proxy. Final target is tomcat 7. My apache is responsible for whole authentication(s). Everything work fine except that when the proxy is used, the Authentication-Info header is not included i

[users@httpd] Mod_proxy: Authentication-Info header lost in response

2013-03-27 Thread Nicolas Daniels
Hi all, I've setup my apache (2.4.4) with mod_proxy. Final target is tomcat 7. My apache is responsible for whole authentication(s). Everything work fine except that when the proxy is used, the Authentication-Info header is not included in the response. If Apache is replying directly without u