WebDav Instructions/configuration

R1Lover

Verified User
Joined
Feb 24, 2007
Messages
446
I'm currently needing webdav on a server.... I have read through all the post on this forum and they are all very old and have a few different methods of doing this. I have tried a couple and can't see to get it to work.

Does anyone have any experience with this here as of late? The last config info was from 3 years ago, and a lot has changes since then.

Thank you
 
Good Luck

Good luck with that.
I've had the same problem. I'm running Windows Home Server 2011 (based on Server 2008 r2), and even with what seem to be instructions for this OS, I still can't get it to work.
Please let me know if you find instructions that work for you... and what you did to get it to work!

~A
 
I've had the same problem. I'm running Windows Home Server 2011 (based on Server 2008 r2), and even with what seem to be instructions for this OS, I still can't get it to work.
Then what are you doing on DirectAdmin forums?

Jeff
 
Oh, I don't know, Jeff...
What are you doing on here? What is anybody doing on here?
Perhaps we are trying to learn. Trying to find answers. Trying to help others when we can.
Not trying to be rude, or condescending, that's for sure.
 
This website is for the directadmin control panel.

It is not for the windows OS.
 
I'm currently needing webdav on a server.... I have read through all the post on this forum and they are all very old and have a few different methods of doing this. I have tried a couple and can't see to get it to work.

Does anyone have any experience with this here as of late? The last config info was from 3 years ago, and a lot has changes since then.

Thank you
Have you tried the method posted by CrazyLane in this post?
http://www.directadmin.com/forum/showthread.php?s=&threadid=3368
I know it is fairly old now but I think the information may still be correct or close to it (at least it is what I used to get WebDAV working on my current server). I do remember it was much easier to enable WebDAV on an Apache 2 server than an Apache 1.3 server.

I am just now getting ready to set up a new DirectAdmin server but am waiting for the version for CentOS 6.0. Once I have that set up I will revisit this as I will need WebDAV on it as well. I will post my results back here then.
 
Oh, I don't know, Jeff...
What are you doing on here? What is anybody doing on here?
Perhaps we are trying to learn. Trying to find answers. Trying to help others when we can.
Not trying to be rude, or condescending, that's for sure.
I'm sorry if I appear to be rude or condescending; I spend an average of over an hour a day attempting to help with people with issues running on their DirectAdmin powered servers running on Linux and on FreeBSD. I believe you miss my point. Resolving an issue with WEBDAV on DirectAdmin powered Linux and FreeBSD servers really isn't going to help you with Windows.

Jeff
 
The concept is nice but I dont see how this is useful in directadmin environment. We want users to have webdav to their home folders not to just some space to upload things. This program seems very buggy and the css is horrible. I have tried version 2.0 and 1.0 and both seem bad. 2.0 seems alot better but it needs alot of work. Its nice if you just want a program that users can publish content to the server to access it.
 
I'm currently needing webdav on a server.... I have read through all the post on this forum and they are all very old and have a few different methods of doing this. I have tried a couple and can't see to get it to work.

Does anyone have any experience with this here as of late? The last config info was from 3 years ago, and a lot has changes since then.

Thank you
I know this thread has gotten somewhat old now but in a previous post I said I would relay my experiences with enabling WebDAV on a new DirectAdmin server. It took me a long time because I had been waiting for Directadmin to come out of beta on CentOS 6.0. I now have my server built and just yesterday went through the process of enabling WebDAV on it. It is actually quite an easy process now since the DAV modules are compiled in by default.

To verify the necessary modules are loaded type this on the command line:
Code:
apachectl -l | grep "dav"
If all is well this should be the result:
Code:
mod_dav.c
mod_dav_fs.c
mod_dav_lock.c
The configuration file for WebDAV is located in /etc/httpd/conf/extra/httpd-dav.conf and as far as I can tell the only thing you need to worry about is this line near the top:
Code:
DavLockDB "/etc/httpd/var/DavLock"
The Alias and Directory sections in that file could probably just be commented out though on my server I just left them as is. However, the folder for the Lock Database (/etc/httpd/var/) was not created by default during the DirectAdmin installation. You can decide whether you want to use the location referenced in the file or change it to somewhere else. I went ahead and used the location referenced in the file. To create the necessary folder you will need to issue these commands as root:
Code:
mkdir /etc/httpd/var
chown apache:apache /etc/httpd/var
chmod 755 /etc/httpd/var
Note: The chmod command is probably unnecessary as I believe 755 are probably set by default anyway. And of course, if you change the location for the lock file you will need to change the code accordingly.

Go ahead and restart Apache (on Centos type "service httpd restart") and you should have a working WebDAV installation. You can then use the DirectAdmin control panel to enable Dav on any directories you need it for (look for Custom HTTPD Configurations under Extra Features at the Admin level of the control panel). You will need to at least add the DAV On directive and probably want to set up some sort of authentication for any folders you enable DAV on. If anyone would like me to post a howto on enabling DAV for a single directory with basic authentication let me know.

I verified it was indeed working by publishing a calendar to a folder using the Apple iCal program and also was able to log into it using CyberDuck which I believe is available for both Mac and Windows.

Hopefully this is of help to someone.
 
Last edited:
I know this thread has gotten somewhat old now but in a previous post I said I would relay my experiences with enabling WebDAV on a new DirectAdmin server. It took me a long time because I had been waiting for Directadmin to come out of beta on CentOS 6.0. I now have my server built and just yesterday went through the process of enabling WebDAV on it. It is actually quite an easy process now since the DAV modules are compiled in by default.

To verify the necessary modules are loaded type this on the command line:
Code:
apachectl -l | grep "dav"
If all is well this should be the result:
Code:
mod_dav.c
mod_dav_fs.c
mod_dav_lock.c
The configuration file for WebDAV is located in /etc/httpd/conf/extra/httpd-dav.conf and as far as I can tell the only thing you need to worry about is this line near the top:
Code:
DavLockDB "/etc/httpd/var/DavLock"
The Alias and Directory sections in that file could probably just be commented out though on my server I just left them as is. However, the folder for the Lock Database (/etc/httpd/var/) was not created by default during the DirectAdmin installation. You can decide whether you want to use the location referenced in the file or change it to somewhere else. I went ahead and used the location referenced in the file. To create the necessary folder you will need to issue these commands as root:
Code:
mkdir /etc/httpd/var
chown apache:apache /etc/httpd/var
chmod 755 /etc/httpd/var
Note: The chmod command is probably unnecessary as I believe 755 are probably set by default anyway. And of course, if you change the location for the lock file you will need to change the code accordingly.

Go ahead and restart Apache (on Centos type "service httpd restart") and you should have a working WebDAV installation. You can then use the DirectAdmin control panel to enable Dav on any directories you need it for (look for Custom HTTPD Configurations under Extra Features at the Admin level of the control panel). You will need to at least add the DAV On directive and probably want to set up some sort of authentication for any folders you enable DAV on. If anyone would like me to post a howto on enabling DAV for a single directory with basic authentication let me know.

I verified it was indeed working by publishing a calendar to a folder using the Apple iCal program and also was able to log into it using CyberDuck which I believe is available for both Mac and Windows.

Hopefully this is of help to someone.

I know it's been a while here, but thanks for the info above, better late than never! :)
 
Back
Top