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: Unable to Proxy to a Sharepoint Directory using mod_proxy
Author
buntyray



Joined: 23 May 2013
Posts: 9
Location: Australia,Melbourne

PostPosted: Thu 18 Jul '13 16:29    Post subject: Unable to Proxy to a Sharepoint Directory using mod_proxy Reply with quote

I am having an issues with a link in share point which is like


http://<actual-url>/Shared%20Documents/Forms/AllPages.aspx

This %20 resolves to a black space and to avoid issues the url is appeneded with %20


Unable to map this directory in httpd.conf file like below

ProxyPass /Shared Documents/Forms/ http://<actual-url>/SharedDocuments/Forms/

ProxyPassReverse /Shared Documents/Forms/ http://<actual-url>/SharedDocuments/Forms/

I get the below error message
Syntax error on line 1882 of /etc/httpd/conf/httpd.conf:
Invalid ProxyPass|ProxyPassMatch parameter. Parameter must be in the form 'key=value'.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Thu 18 Jul '13 17:10    Post subject: Reply with quote

You can put the urls into quotes (") so that you can use white space in the url. I think it should work that way. Plase give it a trial.
Back to top
buntyray



Joined: 23 May 2013
Posts: 9
Location: Australia,Melbourne

PostPosted: Thu 18 Jul '13 17:31    Post subject: Reply with quote

ProxyPass /Shared Documents/Forms/ "http://<actual-url>/SharedDocuments/Forms/"

ProxyPassReverse /Shared Documents/Forms/ "http://<actual-url>/SharedDocuments/Forms/"

Is this correct way.
Back to top
buntyray



Joined: 23 May 2013
Posts: 9
Location: Australia,Melbourne

PostPosted: Fri 19 Jul '13 4:06    Post subject: Reply with quote

I tried using the following syntax, but this resulted in recursive authentication demand and even after giving correct credentials it did not work.

ProxyPass "/Shared Documents/Forms/" "http://<actual-url>/Shared Documents/Forms/"

ProxyPassReverse "/Shared Documents/Forms/" "http://<actual-url>/Shared Documents/Forms/"
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Fri 19 Jul '13 17:30    Post subject: Reply with quote

In IIS you need to set the Auth method to from the share point page to Standard auth and not the integraded Windows Auth, unless you use mod_sspi (apache 2.2 on windows) or mod_authn_ntlm (apache 2.4 on windows) or mod_auth_kerb (apache 2.2 on linux). All these 3 modules work only with Internet Explorer.
So I think the basic auth is the best choise.
Back to top
buntyray



Joined: 23 May 2013
Posts: 9
Location: Australia,Melbourne

PostPosted: Sat 20 Jul '13 3:53    Post subject: Reply with quote

Hi,

In ISS for the Site we have the following Autentication enabled for the below Sites

SharePoint -80
SharePoint Central Administration v4
SharePoint Webservices

1. Windows Authenticatiomn
2. ASP.Net Impersonation

The Repteated Authentication Prompt is only coming for the links which resolves to URL's containing %20 it it. I have also been discussing the same issue in SharePoint Forum.

http://social.technet.microsoft.com/Forums/sharepoint/en-US/c41fb8c6-0c1e-4686-9d6f-753363d181f2/how-to-configure-apache-as-reverse-proxy-for-sharepoint-application?prof=required[/img]
Back to top
comert



Joined: 13 Feb 2013
Posts: 11

PostPosted: Thu 19 Sep '13 16:48    Post subject: Reply with quote

Did you ever get this resolved I have the same issue.
Back to top


Reply to topic   Topic: Unable to Proxy to a Sharepoint Directory using mod_proxy View previous topic :: View next topic
Post new topic   Forum Index -> Apache