Working with Distributed Authoring and Versioning (DAV) and Web Folders
ID: Q221600
|
The information in this article applies to:
-
Microsoft Internet Information Services version 5.0
SUMMARY
Microsoft Internet Information Services (IIS) version 5.0 supports the Distributed Authoring and Versioning (DAV) extensions to the HTTP protocol as defined in RFC 2518. You can use Web folders from Microsoft Office 2000 or Windows 2000 with an IIS 5.0 computer to take advantage of the DAV features when authoring.
MORE INFORMATION
The following information will lead you through the various steps and possible errors that can occur when configuring Web folders.
NOTE: This example uninstalls the FrontPage Server Extensions from your default Web site. If this is not acceptable for your default Web site, you may want to try these steps on an alternate testing server.
- In order to use DAV only, ensure that the FrontPage Server Extensions are not installed (they can be reinstalled later):
- Open up Internet Services Manager in the MMC.
- Right-click your default Web site.
- Select All Tasks on the pop-up menu.
- If Remove Server Extensions is an option, do the following:
- Click Remove Server Extensions.
- Check the box to preserve the FrontPage metadata and click OK.
- Create a virtual directory for testing:
- Create a new folder named "C:\DavTests".
- Open Internet Services Manager in the MMC.
- Right-click your default Web site.
- Select New, and then select Virtual Directory on the pop-up menu.
- Click Next to start the wizard.
- Enter "davtests" for the alias and click Next.
- Enter the folder "C:\DavTests" and click Next.
- Select Read and Run Scripts, and then click Next.
- Click Finish to complete the wizard.
- Right-click the new virtual directory and click Properties on the pop-up menu.
- Select the Virtual Directory tab and verify that only Read Access is currently selected.
- Move this window to the side for now, as you'll need this information later.
- Create a new Web folder for the virtual directory you just created:
- Double-click My Computer on your desktop.
- Double-click Web Folders.
- Double-click Add Web Folder.
- Enter "http://localhost/davtests" in the text box provided and click Next.
- Enter "Dav Tests" for the name and click Finish.
- Double-click the new Dav Tests Web folder. You should see an empty folder.
- Move this window to the side for now as well.
- Create two pages for testing:
- Copy the following ASP code and save it as "Hello.asp" on your desktop:
<% @Language="VBSCRIPT" %>
<html>
<head><title>DAV Test Page</title></head>
<body>
<%="Hello World!"%>
</body>
</html>
- Copy the following text and save it as "Hello.txt" on your desktop:
Hello World!
- The following section discusses possible configurations and the errors that you may see when working with Web folders. Switch back to the Virtual Directory tab and verify again that only Read Access is currently selected.
- Enabling Write Access:
- Try to drag the Hello.txt file into the Dav Tests Web folder.
- You should get an error stating that the file could not be copied.
- Switch back to the Virtual Directory tab, check the Write Access box, and click Apply.
- Enabling Directory Browsing:
- Drag the Hello.txt file into the Dav Tests Web folder, and then refresh the window.
- You should see an empty folder.
- Switch back to the Virtual Directory tab, check the Directory Browsing box, and click Apply.
- Refresh the Dav Tests window.
- You should now see the Hello.txt file.
- Enabling and Disabling Script Source Access:
- Try to drag the Hello.asp file into the Dav Tests Web folder.
- You should get an error stating that the file could not be copied.
- Switch back to the Virtual Directory tab, check the Script Source Access box, and click Apply.
- Drag the Hello.asp file into the Dav Tests Web folder.
- You should see the Hello.asp file.
- Open Notepad and move it to the side.
- Drag the "Hello.asp file into Notepad. You should see the ASP source code.
- Drag the Hello.txt file into Notepad, and you should see the text.
- Switch back to the Virtual Directory tab, uncheck the Script Source Access box, and click Apply.
- Try to drag the Hello.asp file into Notepad.
- You should get an error stating that the file could not be copied.
- Drag the Hello.txt file into Notepad. You should see the text.
- Switch back to the Virtual Directory tab, check the Script Source Access box, and click Apply.
Additional query words:
iis dav asp
Keywords :
Version : winnt:5.0
Platform : winnt
Issue type : kbinfo
|