理解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
總結
以上是生活随笔為你收集整理的理解SharePoint中的Managed Path的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Java描述设计模式(13):迭代器模式
- 下一篇: 【电影】美丽心灵的永恒阳光