?
Solved

SharePoint and URI

Posted on 2009-05-15
4
Medium Priority
?
896 Views
Last Modified: 2013-11-22
Created a site on SP Farm with explicit managed path lets say for example
http://www.foo.bar.com/sp

I have an apache server, which receives all the incoming request from internet and then routes to the appropriate server where the request is destined.  
For SharePoint currently it has to route  all the request from http://www.foo.bar.com/ (i.e. from the / root) to SP WFE. The reason being SharePoint uses bunch of 12 hive directory using its absolute path from root (confirmed using http watch tool).

On the other hand for other applications the request are routed using relative path or URI
http://www.foo.bar.com/bee in this case /bee

The question is how i can use URI i.e. route all request using /sp (URI) to SP WFE from apache and all SP page are server relative to /sp ....    What i mean is when the request is being served for SP site it should never use the root (/)

0
Comment
Question by:celerity12
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 51

Expert Comment

by:Ted Bouskill
ID: 24401275
I'm not sure I understand the question, however, I'll explain a bit about how Sharepoint works to see if it helps.  As you may know, Sharepoint uses it's own custom ISAPI DLL to render virtual folders on the fly from the content database.  So, if you have Sharepoint at the root http://www.foo.bar.com/ then /sp and /bee only existing in the database NOT in IIS.

The 12 hive directory is used for master pages and some layouts, however, the bulk of the rendered content comes from the database.

What version of Sharepoint are you using?
0
 

Author Comment

by:celerity12
ID: 24404796
Version Moss 2007
 I understand what are you saying tedbilly.

Now lets say i want to change the things in such a way that all the request to a SP site http://www.foo.bar.com/sp should be served from /sp i.e. ... doesn't matter what request is whether for master page or anything else... how this can be achieved

0
 
LVL 51

Accepted Solution

by:
Ted Bouskill earned 80 total points
ID: 24407079
Sorry, but Sharepoint was designed to start working at the web application root.  You can automatically redirect all the traffic, but Sharepoint MUST own and manage www.foo.bar.com
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question