• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 912
  • Last Modified:

SharePoint and URI

Created a site on SP Farm with explicit managed path lets say for example

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 (/)

  • 2
1 Solution
Ted BouskillSenior Software DeveloperCommented:
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?
celerity12Author Commented:
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

Ted BouskillSenior Software DeveloperCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now