logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: apache 2.2.10 reverse proxy to Sharepoint. Login issue
Author
TechTiger007



Joined: 19 Nov 2008
Posts: 6

PostPosted: Wed 19 Nov '08 13:15    Post subject: apache 2.2.10 reverse proxy to Sharepoint. Login issue Reply with quote

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

PostPosted: Fri 21 Nov '08 20:04    Post subject: Reply with quote

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

PostPosted: Fri 21 Nov '08 20:28    Post subject: Reply with quote

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

PostPosted: Fri 21 Nov '08 21:47    Post subject: Reply with quote

It looks to me like this is a long standing bug with 2.2.x


https://issues.apache.org/bugzilla/show_bug.cgi?id=39673

http://marc.info/?l=apache-httpd-dev&m=117507975930451&w=2
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 611
Location: Milford, MA, USA

PostPosted: Sat 22 Nov '08 18:19    Post subject: Reply with quote

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

PostPosted: Mon 24 Nov '08 9:28    Post subject: Reply with quote

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

PostPosted: Mon 24 Nov '08 9:35    Post subject: Reply with quote

glsmith wrote:
It looks to me like this is a long standing bug with 2.2.x


https://issues.apache.org/bugzilla/show_bug.cgi?id=39673

http://marc.info/?l=apache-httpd-dev&m=117507975930451&w=2


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

PostPosted: Sat 06 Dec '08 16:17    Post subject: Reply with quote

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


Reply to topic   Topic: apache 2.2.10 reverse proxy to Sharepoint. Login issue View previous topic :: View next topic
Post new topic   Forum Index -> Apache