Author |
|
TechTiger007
Joined: 19 Nov 2008 Posts: 6
|
Posted: Wed 19 Nov '08 13:15 Post subject: apache 2.2.10 reverse proxy to Sharepoint. Login issue |
|
|
Hi,
I have configured Apache 2.2.10 with openssl as a SSL reverse proxy to my sharepoint site. When a user browse to this site, he is prompted for his credentials multiple times. Also when ever he tries to access another page he is asked for credentials again many times. This is happening in Firefox 3.0.4. This issue is not there when I browse with IE.
More Info:
This issues is not there when I use Apache 2.0 as SSL reverse proxy to same site.
When I browse the site directly without reverse proxy it is working fine
What am I missing here?
Thanks
Toms |
|
Back to top |
|
aduljr
Joined: 14 Aug 2008 Posts: 3
|
Posted: Fri 21 Nov '08 20:04 Post subject: |
|
|
sharepoint used NTLM Auth which IE has and Firefox is not turned on.
Type about:config in the address bar and hit enter
Filter for ntlm
Change network.NTLM.send-IM-Response to True
network.automatic-htlm-auth.trusted-urIs to whatever your Active Directory server is. |
|
Back to top |
|
TechTiger007
Joined: 19 Nov 2008 Posts: 6
|
Posted: Fri 21 Nov '08 20:28 Post subject: |
|
|
Thanks aduljr,
I tried this and it did not work.
If this is the issue in firefox setting then I should have faced the same issue with apache 2.0 version.
I have configured both apache 2.0 and 2.2 as reverse proxy to same site now. 2.0 works fine and 2.2 asks for login again and again. That makes me think this is not due to firefox setting. What else can I try out?
Thanks,
Toms |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
|
Back to top |
|
tdonovan Moderator
Joined: 17 Dec 2005 Posts: 611 Location: Milford, MA, USA
|
Posted: Sat 22 Nov '08 18:19 Post subject: |
|
|
You might try adding the mod_proxy Protocol Adjustments: Code: | SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1 |
If that doesn't work by itself, try turning keepalives off for the client too, like this: Code: | SetEnv nokeepalive 1 |
If this works (and I'm not at all sure that it will, so pls let us know), it will cause a performance penalty - especially with ssl.
-tom- |
|
Back to top |
|
TechTiger007
Joined: 19 Nov 2008 Posts: 6
|
Posted: Mon 24 Nov '08 9:28 Post subject: |
|
|
tdonovan wrote: | You might try adding the mod_proxy Protocol Adjustments: Code: | SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1 |
If that doesn't work by itself, try turning keepalives off for the client too, like this: Code: | SetEnv nokeepalive 1 |
If this works (and I'm not at all sure that it will, so pls let us know), it will cause a performance penalty - especially with ssl.
-tom- |
tdonovan,
Thanks for the reply. I tried your suggestion and still getting the same login screen again and again. After entering the credentials for 5-10 times the page opens. When I click on next page it asks for login again in same fashion. Is there any other work around for this. Why is this happening in Firefox?
Thanks,
Toms |
|
Back to top |
|
TechTiger007
Joined: 19 Nov 2008 Posts: 6
|
Posted: Mon 24 Nov '08 9:35 Post subject: |
|
|
Thanks glsmith.
It looks like the same issue that I am facing here. I am using Apache 2.2.10. Seems it is still the same. I wonder why IE prompts for credentials just once. Any clue?
Thanks,
Toms |
|
Back to top |
|
TechTiger007
Joined: 19 Nov 2008 Posts: 6
|
Posted: Sat 06 Dec '08 16:17 Post subject: |
|
|
Here is an update
I was thinking that everything is working with IE but what was happening that when I use IE the credentials are set once and when a different user tries to connect to the site it does not ask the credentials for him instead it uses the older one.
Searched in web and every forum points to this bug. Is there any work around for this.
I tried with apache 2.2.4, 2.2.9 and 2.2.10 everywhere its same.
I am upgrading the version mainly to use "flushpackets" of ProxyPass, because in older versions this directive was not supported and my file downloads use to fail since Apache was caching the entire file before downloading.
Any suggestions to over come this
Thanks,
Toms |
|
Back to top |
|