Working with Managed Paths in MOSS

Bob Fox has done a great job on providing screencasts for some administrative functions in SharePoint 2007 and we all hope he continues doing a great job. There are several screencasts that he has produced and today I’m going to focus on Working with Managed Paths [direct link to Managed Paths demo].

Why is this screencast important for a SharePoint 2007 administrator, simply because as a SharePoint 2007 administrator you need to managed paths. SharePoint needs to know which URLs it controls and which URL(s) can be used for Self Service Site creation. Managing paths can be an easy task but if its not planned then things can become daunting. Now lets get into what Bob Fox walks us through in his first screencast. Here’s a brief textual walkthrough:

  1. By defining a managed path you specify which paths in the URL namespace in a web application are used for site collections. You can specify one or more than one site collection exists in a specified path.
  2. For example, using an explicit inclusion, you are saying that http://server_name/team is a site collection but not any possible site collections below it; however, using wildcard exclusion allows you to specify child URLs under http://server_name/sites/* are also site collections.
  3. We are going to look into two different types of inclusion: explicit and wildcard
    1. Explicit inclusions — Includes only the specific path you set. Use explicit inclusions, for example, if you want Windows SharePoint Services to manage a specific path, such as /portal, but not any possible sites below it, such as /portal/webapp.
    2. Wildcard inclusions — Includes any sites below the path you set, so you don’t have to add them individually. This is the type of inclusion to use for Self-Service Site Creation, when you want users to be able to create top-level Web sites underneath a specific path, such as /sites.
  4. In an example environment, we have the following topology:
    • Projects
    • Sales
    • Amer
    • Emea
    • Development
    • Amer
    • Emea
  5. Projects site will be a wildcard inclusion, sales and development sites both want to have their own paths and below each there will be Amer and Emea.
  6. Lets go through each of these guys so we can get a better understanding.
  7. Click on Application Management using SharePoint 2007 Central Administration screen.
  8. Under SharePoint Web Application Management, select Define managed paths…

For the rest, why not check out the actual screencast by Bob Fox - Working with Managed Paths [direct link to Managed Paths demo]?

Managing Paths from the Command Line

You can use the addpath and deletepath operations to manage paths on the command line. Both operations take the -url and -type parameters. The -type parameter has three values: exclusion, explicitinclusion, and wildcardinclusion. For example, to add a new wildcard inclusion to manage all sites at the top level of http://server1, you would use syntax like the following:

stsadm -o addpath -url http://server1/ -type wildcardinclusion

<script type="text/javascript"> </script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"> </script>

You can also remove an included or excluded path by using the command line. For example, to remove an exclusion for the site at http://server1/hrweb/webapp, you would use syntax like the following:

stsadm -o deletepath -url http://server1/hrweb/webapp

[source: Administrator’s Guide for Windows Sharepoint Services - Managing Paths]

Additional Resources:
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值