配置SPS的托管路径

配置SPS的托管路径

Configure Managed Paths of SPS

 

SPS可以配置两类路径:包含的路径(Included paths)和排除的路径(Excluded paths)。包含的路径表示由 Windows SharePoint Services 管理该路径。排除的路径表示由另外的应用程序管理该路径,Windows SharePoint Services 将忽略此路径。

 

包含的路径和排除的路径仅用于目录,而不是网站中的网页,并且它们是递归的(例如,如果排除了 /mango,则 Windows SharePoint Services 会忽略任何以 /mango/ 开头或等于 /mango URL)。排除优先于包含,因而如果意外将特定路径既设为包含又设为排除,该路径将为排除。

 

You can manage paths by using either HTML administration pages or the command line.

 

1. Managing Paths by using HTML Administration Pages

To include or exclude a new path, use the Define Managed Paths page for the virtual server that contains the path.

Add a new path or Remove a path:

1)     Click Start, point to All Programs, point to Administrative Tools, and then click SharePoint Central Administration.

2)     On the Central Administration page, under Virtual Server Configuration, click Configure virtual server settings.

3)     On the Virtual Server List page, select the virtual server you want to configure.

4)     On the Virtual Server Settings page, under Virtual Server Management, click Define managed paths.

5)     In the Add a New Path section, in the Path box, type the path to add.

6)     Select Excluded path to remove a path or Included path to add a new path.

Select a type (wildcard or explicit) in the Type box.

7)     Click OK.

 

2. 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, explictinclusion, 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

 

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

 

 

Reference:

1, Microsoft Office SharePoint Portal Server 2003 Administrator’s Guide

posted @ 2004-11-25 05:37  Rickie  阅读(1451)  评论(3编辑  收藏  举报