I'm running an application server behind an Apache proxy with the following sort of thing in my Apache config:

ProxyPass        /app http://myapplication:8080/myapp
ProxyPassReverse /app http://myapplication:8080/myapp

When I switch on NTLM authentication (using mod_ntlm) the authentication fails (it works fine when bypassing the proxy). A quick search reveals lots of issues when running NTLM behind a proxy due to the connection-specific NTLM specification.

Does anyone have a working Apache configuration that allows NTLM authentication through a proxy?

Thanks for any help.

link|improve this question

1  
I'm basing this on possibly dated knowledge here but I didn't think NTLM through a proxy worked at all, (excepting possibly the old microsoft isa server). – mahnsc Jun 13 '11 at 2:40
Thanks @mahnsc, that's my recollection as well, but I'm wondering if someone has some fancy-dan piece of Apache config magic that provides a workaround. :) – Nick Pierpoint Jun 13 '11 at 8:25
1  
some interesting points on the subject : issues.apache.org/bugzilla/show_bug.cgi?id=39673 You can try a Squid Proxy instead, tehre's some options for NTLM support in Squid wiki.squid-cache.org/ConfigExamples/Authenticate/Ntlm. – regilero Jun 13 '11 at 10:11
feedback

migrated from stackoverflow.com Jun 12 '11 at 23:18

This question came from our site for professional and enthusiast programmers.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.