Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
![]() |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Jul 2008
Posts: 1
|
Here are some more details, and a sample config.
You can put the following in a vhost.conf, or put it in dav.conf and include dav.conf from your vhost.conf file. These would both go in the conf directory of your site. - To create a read-only Dav directory, use the following. Substitute the correct paths for <vhosts>, <domain_name> and <dav_dir>. <Directory "/<vhosts>/<domain_name>/httpdocs/<dav_dir>"> DAV on AllowOverride None <Limit HEAD GET POST OPTIONS PROPFIND> Allow from all </Limit> <Limit MKCOL PUT DELETE LOCK UNLOCK COPY MOVE PROPPATCH> Deny from all </Limit> </Directory> You can then mount the directory using http://<domain_name>/<dav_dir> - To create a dav directory that is read/write and password protected, you have a couple of ways to go about it. 1) Using Plesk, create a password protected directory. Then, add something like the following to the .conf file: <Directory "/<vhosts>/<domain_name>/httpdocs/<protected_dir>"> DAV on AllowOverride none </Directory> The usual plesk mechanism will be in charge of authenticating. Or, you can just do: <Directory "/<vhosts>/<domain_name>/httpdocs/<any_dir>"> DAV on </Directory> and then use .htaccess type authentication by putting it in the .htaccess file of the directory. Do not create an unprotected read/write directory, or you will open your server up to all kinds of hacking. After all of this, restart using something like: websrvmng -v -a If it doesn't work, check the following: 1) That you are using http or https as appropriate. Putting commands in vhost.conf and then trying to get to dav with https will not work. 2) Make sure all paths are exactly right. If anything is off, you will get a message that the service is not available. 3) Don't use the site preview URL from within plesk. It won't work. Any nameserver changes must propogate first if using a shared IP. |
|
|
|
![]() |
| Tags |
| backup, plesk, webdav |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|