Solved

SharePoint and URI

Posted on 2009-05-15
4
870 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
  • 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 20 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
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, fr…
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, fr…

821 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