The IIS WebDAV extension service was used in the system to support the attachment upload feature, which was previously deployed in IIS6, and the default is no WebDAV service extension in IIS7, and Windows Server R2 is built-in, without having to download the installation package separately.
1. Installing the IIS7 Webdab
Start-management Tools-Server Management-Role-Web server (IIS) = right-click Add role Service
It is possible that WebDAV is based on Windows authentication, and IIS7 does not have this mechanism by default, this is different from IIS6, and it needs to be installed by itself, such as:
2. Configure WebDAV Rules
The following excerpt from Microsoft Help documentation
Use the following procedure to enable WebDAV and create authoring rules for Windows Server 2008 and Windows Server R2:
- Navigate to start/All Programs/Administrative Tools/internet Information Services (IIS) Manager to start the Internet Information Services 7 Application Server Manager.
- In the Connections pane, expand the Sites node, click Default Web Site if you use the default Web site for the site system, or click SMSWEB if you use a custom site for the site system.
- In Features view, double-click WebDAV Authoring Rules.
- After the WebDAV authoring Rules page appears, in the Actions pane, click Enable WebDAV.
- In the Actions pane, click Add Authoring Rule.
- In the Add Authoring Rule dialog box, for Allow access, select all content.
- For allow access to this content, select all users.
- For permissions, select Read, and then click OK.
Use the following procedure to change the properties behavior of WebDAV on Windows Server 2008 and Windows Server R2:
- On the WebDAV Authoring Rules page, in the Actions pane, click WebDAV Settings.
- On the WebDAV Settings page, for property behavior, set Allow Anonymous property query to True.
- Set allow custom property to False.
- Set the Allow depth unrestricted property query to True.
- For distribution points enabled for allow clients to transfer content from this distribution point using BITS, HTTP, and HTTPS, set the Allow listing of hidden files to True for WebDAV behavior.
- In the actions pane, click Apply.
- Turn off Internet information Services (IIS) Manager
Personal configuration such as:
Reference scheme:
Http://technet.microsoft.com/zh-cn/library/cc431377.aspx#Install_WebDAV
Windows Server r2 system IIS7 configuring WebDAV