Searching WebDAV Directories
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1
After you create a WebDAV publishing directory, you may want to allow users to search for content and file properties.
Important
You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /user:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".
Procedures
To set up your publishing directory for searching
If you want to let clients search for resource properties, make sure the directory is on a drive formatted with the NTFS file system. If you put the directory on a drive formatted with the file allocation table (FAT) file system, clients can search for resource content but cannot search for resource properties.
Right-click the My Computer icon on your server's desktop, and then click Manage.
In the navigation pane of the Computer Management console, expand the Services and Applications node, and then select Services.
In the details pane, right-click Indexing Service, and then select Properties.
On the General tab of the Indexing Service Properties window, set the Startup type to Automatic, and then click the Start button.
After the Indexing Service starts, click OK, and then close the Computer Management Window.
In IIS Manager, expand the local machine, right-click your WebDAV directory, and click Properties.
Click the Virtual Directory tab and make sure Index this resource and Read access options are selected. If Index this resource is not selected, Indexing Service will not create a catalog for that directory, and no one will be able to search it. If Read access has not been selected, a client can search the directory, but will not be able to see the results of the search.
Related Information
For information about how to enable the Indexing Service in the Windows Component Wizard, see Installing IIS.
For details about setting IIS permissions for a virtual directory, see Securing Sites with Web Site Permissions.