Window server 2008 Web server configuration Webdav

1. Purpose of the experiment

By configuring Webdav on the web server , the client can edit files online by mapping the network drive

2. Implementation principle

The mechanism of directly reading and editing files through the web server is equivalent to the storage service and is implemented based on the http/https protocol

3. Experimental steps

Create a new folder webdev, create a new file, and write something casually

Add a site and find the folder just now

Select Webdev to create rules and open the function

enable webdav

Add authoring rules

Choose authentication

enable windows authentication

Select directory browsing, enable

Restart the site and test it on the client machine

At this point we can only view content and download content

If we want to implement online editing, we can map it to a network drive

Right click on computer - map network drive

It can be seen that the addition was unsuccessful

Because the window server service does not come with WebClient

We need to add the WebClient service, that is, the Webdav redirection function.

Open Server Manager - Add Features

Found that the window server 2008 R2 version does not have this function

At this point we open another window 2019 client

Add role function - webdav redirection

Restart after the installation is complete, and then start the WebClient service

Then connect again

At this point we edit the file

Save and go back to the web server to see that the file synchronization has been changed

if it still doesn't work

Then modify the registry:

Click [Start], run [regedit] to open the registry, and find Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\BasicAuthLevel

Change its value to 2 and click OK. Then restart the [WebClient] service.

Guess you like

Origin blog.csdn.net/weixin_55988897/article/details/127855955