理解SharePoint中的Managed Path

简单来说, managed path就是一种告诉SharePoint系统什么样的URL需要由SharePoint来处理, 什么样的URL不需要SharePoint来插手处理.

因为SharePoint在取页面的时候是要去数据库中寻找的, managed path可以告诉SharePoint 什么页面去数据库寻找, 什么页面不需要这么做.

 

Managed Path这个选项在SharePoint 2003和SharePoint 2007中是不同的.

  • 在2003中, managed path的包括(include)和排除(exclude)都需要明确指定.
  • 在2007中, managed path就没有了exclude, 只有wildcard inclusion和explicit inclusion了.

比如说, 有个aspx页面的物理路径在C:\Inetpub\wwwroot\wss\VirtualDirectories\80\yunpath\test.aspx.

如果在2003中, 那么我们就需要建一个exclude的managed path, 告诉SharePoint, 在\yunpath\下的任何页面都不需要SharePoint来负责寻找页面.

在2007中, 就没那么复杂, 只要你没告诉SharePoint这个yunpath是要include的, 那么SharePoint就会当它是exclude的path了.

 

下面的文章可以帮助你理解这个要点.

Allowing Web Applications to Coexist with Windows SharePoint Services 2.0

http://technet.microsoft.com/en-us/library/cc288964(office.12).aspx

How to enable an ASP.Net application to run on a SharePoint virtual server

http://support.microsoft.com/kb/828810?&clcid=0x409

 

Reference

http://www.cnblogs.com/awpatp/archive/2010/03/18/1688998.html

posted on 2011-01-06 16:41  中道学友  阅读(641)  评论(0编辑  收藏  举报

导航

技术追求准确,态度积极向上