在IIS7中安装和配置WebDAV.doc_第1页
在IIS7中安装和配置WebDAV.doc_第2页
在IIS7中安装和配置WebDAV.doc_第3页
在IIS7中安装和配置WebDAV.doc_第4页
在IIS7中安装和配置WebDAV.doc_第5页
已阅读5页,还剩14页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Installing and Configuring WebDAV on IIS 7 Author: Robert McMurray Published on February 14, 2008 by robmcm Updated on March 18, 2010 by robmcm Tags: WebDAV Print Email Save to FavoritesAbout the Author Robert McMurray View Profile View BlogForum Posts: 274 Introduction Microsoft released a new WebDAV extension module that was completely rewritten for Internet Information Services (IIS) 7 on Windows Server 2008. This new WebDAV extension module incorporated many new features that enable Web authors to publish content better than before, and offers Web administrators more security and configuration options. Microsoft has released an update to the WebDAV extension module for Windows Server 2008 that provides shared and exclusive locks support to prevent lost updates due to overwrites.This document walks you through adding WebDAV publishing to an existing Web site by using the new WebDAV user interface and by directly editing the IIS configuration files. Note: This walkthrough contains a series of steps in which you log on to your Web site using the local loopback address and the local administrator account. When using an administrator account, these steps should only be followed on the server itself using the loopback address or over SSL from a remote server. If you prefer to use a separate user account instead of the administrator account, you must create the appropriate folders and set the correct permissions for that user account when necessary. In This Walkthrough Installing WebDAV on IIS 7.0 Installing WebDAV on IIS 7.5 Enabling WebDAV Publishing by using IIS Manager Enabling WebDAV Publishing by editing the IIS configuration filesNote: This topic discusses using the WebDAV Redirector to connect to your web site. Please see the Using the WebDAV Redirector topic for more information; specifically the Troubleshooting the WebDAV Redirector section if you have trouble using the WebDAV redirector.Installing WebDAV on IIS 7.0Prerequisites The following items are required to complete the procedures in this article: IIS 7.0 must be installed on your server, and the following must be configured: The Default Web Site that is created by the IIS 7.0 installation must still exist. The Internet Information Services Manager must be installed. At least one authentication method must be installed. Note: If you choose to use Basic Authentication with the WebDAV redirector, you must connect to your server using HTTPS. The WebDAV Redirector must be installed: You must use Server Manager to install the Desktop Experience feature before you can use the WebDAV redirector. Downloading the Right Version for Your Server There are two separate downloadable packages for the new WebDAV extension module; you need to download the appropriate package for your version of Windows Server 2008: 32-bit Installation Package: WebDAV 7.5 for IIS 7.0 (x86) 64-bit Installation Package: WebDAV 7.5 for IIS 7.0 (x64) Launching the Installation Package You must run the installation package as an administrator. This can be accomplished by one of the following methods: Logging in to your server using the actual account named Administrator, then browsing to the download pages listed above or double-clicking the download package if you have saved it to your server. Logging on using an account with administrator privileges and opening a command-prompt by right-clicking the Command Prompt menu item that is located in the Accessories menu for Windows programs and selecting Run as administrator, then typing the appropriate command listed below for your version of Windows to run the installation: 32-bit Windows Versions: msiexec /i webdav_x86_75.msi 64-bit Windows Versions: msiexec /i webdav_x64_75.msi Walking Through the Installation Process 1. When the installation package opens, you see the following screen. If you agree to the license terms, check the I accept box, then click Install.2. The progress indicator will reflect the status of the installation as it proceeds.3. After the installation has completed, click Finish.4. The WebDAV extension module is now installed. Installing WebDAV on IIS 7.5IIS 7.5 for Windows Server 2008 R21. On the taskbar, click Start, point to Administrative Tools, and then click Server Manager. 2. In the Server Manager hierarchy pane, expand Roles, and then click Web Server (IIS). 3. In the Web Server (IIS) pane, scroll to the Role Services section, and then click Add Role Services. 4. On the Select Role Services page of the Add Role Services Wizard, expand Common HTTP Features, select WebDAV Publishing, and then click Next. 5. On the Confirm Installation Selections page, click Install.6. On the Results page, click Close. IIS 7.5 for Windows 71. On the taskbar, click Start, and then click Control Panel. 2. In Control Panel, click Programs and Features, and then click Turn Windows Features on or off. 3. Expand Internet Information Services, then World Wide Web Services, then Common HTTP Features. 4. Select WebDAV Publishing, and then click OK. Enabling WebDAV Publishing by Using IIS ManagerThe new WebDAV extension module makes it easy to add WebDAV publishing to existing sites by providing you with a wizard that walks you through all of the required steps. Step 1: Enabling WebDAV and Adding an Authoring Rule In this first step, we add WebDAV publishing to the Default Web site, and add the required settings to allow the local administrator account to edit the content. 1. In IIS Manager, in the Connections pane, expand the Sites node in the tree, then click the Default Web Site. 2. As shown in the image below, double-click the WebDAV Authoring Rules feature. 3. When the WebDAV Authoring Rules page is displayed, click the Enable WebDAV task in the Actions page.4. Once WebDAV has been enabled, click the Add Authoring Rule task in the Actions pane.5. When the Add Authoring Rule dialog appears: 1. Click All content to specify that the rule applies to all content types.2. Choose Specified users and type administrator for the user name. 3. Select Read, Source, and Write for the permissions. 4. When you have completed these items, click OK.Summary Task completed. You have enabled WebDAV authoring on an existing Web site.To recap the items that you completed in this step, we added WebDAV publishing to the Default Web Site by: Enabling WebDAV for the Web site. Adding an Authoring Rule for the local administrator account for Read, Source, and Write access. Note: As mentioned earlier, your default request filtering settings may block several file types from WebDAV authoring. If you do not modify your request filtering settings, you may see various errors when you try to publish files that are blocked. For example, if you attempt to upload or download a web.config file you will see errors in your WebDAV client. For more information about configuring your request filtering settings, see the How to Configure WebDAV with Request Filtering walkthrough.Step 2: Logging in to Your WebDAV Site In Step 1 above, you enabled WebDAV publishing for your Default Web Site and added an Authoring Rule for the local administrator account for Read, Source, and Write access to your Web sites content. In this step, you log in using your administrator account. Ensuring that you have Authorization and Authentication configured 1. In IIS Manager, in the Connections pane, expand the Sites node in the tree, then click the Default Web Site. 2. Double-click the Authentication feature.3. When the Authentication feature opens, make sure that Windows Authentication is enabled. (Note: You can use Basic Authentication with WebDAV, but the WebDAV redirector will only use Basic authentication with SSL connections.)4. In IIS Manager, click the Default Web Site under the Sites node in the tree.5. Double-click the Authorization feature.6. When the Authorization feature opens, make sure that an Allow rule is defined that includes the administrator account. (For example, the default rule for IIS allowing access to All Users will include the administrator account.)Logging in to your WebDAV site using your administrator account 1. On your WebDAV server, open a command prompt session. 2. Type the following command to connect to your WebDAV server:net use * http:/localhost/ You now have a drive mapped to your WebDAV-enabled web site using the local administrator account, and based on the authorization rule that we added in Step 1, you have Read, Write, and Source access to the content folder. Summary To recap the items that you completed in this step: You verified that your Web site had sufficient Authentication and Authorization settings. You logged in to your WebDAV site as the local administrator. Enabling WebDAV Publishing by Editing the IIS Configuration FilesYou can also add WebDAV publishing to an existing Web site by editing the IIS configuration files. Note: Editing your applicationHost.config file requires full administrative permissions. This is best accomplished using one of two methods: Log in to your computer using the local administrator account. If you are logged in using an account with administrative permissions that is not the local administrator account, open Notepad using the Run as Administrator option. Note: The above steps are required because the User Account Control (UAC) security component in Windows Server 2008 will prevent access to your applicationHost.config file. For more information about UAC, please see the following documentation: /fwlink/?LinkId=113664The following steps will walk you through all of the required settings to add WebDAV publishing for the Default Web Site. 1. Using a text editor such as Windows Notepad, open your applicationHost.config file, which is located in your %SystemRoot%System32inetsrvconfig folder by default. 2. Scroll to the bottom of your applicationHost.config file and locate the section for your Default Web Site that contains your authentication settings. If this section does not exist, you must add it. Th

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论