Choose language

Portal Home > Knowledgebase > How-to > Hosting > HTTP > WebDAV


WebDAV




The article describes how to enable WebDAV. Please log in to your SSH and use the following commands:

echo -en "Include /etc/apache2/mods-available/dav.load\nInclude /etc/apache2/mods-available/dav_fs.load\n\nDavLockDB $HOME/DavLock\nAlias /$(whoami)/webdav $HOME/downloads\n<Directory $HOME/downloads>\nDAV On\n</Directory>" > .apache2/conf.d/dav.conf


mv ~/downloads/.htaccess ~/www/$(whoami).$(hostname)/$(whoami); touch ~/downloads/.htaccess


/usr/sbin/apache2ctl -k graceful

All done, you have enabled WebDav for your downloads folder. Your URL is https://server.hostname/username/webdav , where server.hostname is your server hostname and username is your service username, for example: http://someserver.seedhost.eu/testseed/webdav .

If you want to use another folder, you need to edit the following file:

~/.apache2/conf.d/dav.conf

You need to edit line 5 and 6 to reflect the folder for which you want to enable webdav access. Please note that you can't do this for your $HOME path.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Additional web users (Views: 6963)

Powered by WHMCompleteSolution