I've these enebled:
mod_dav mod_dav_fs mod_dav_svn
And I've added at ../conf/httpd.include these lines in the main virtualhost section
I've also tried with the absolut path
Main Topics
Browse All TopicsHi!
For a project, I need webdav. But I couldn't make it works and I find a good tutorial.
So, I've a Plesk server(8.6), so what I must do?
I don't know if webdav is installed, I've tried to put something like:
<Directory /var/www/vhosts/nargzul.co
DAV on
<Limit PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
</Limit>
</Directory>
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I forgotten to say, after this, when I go on the url(http://nargzul.com/web
If I try to connect it directly with ubuntu I've an error too.
And this is the complete error message:
Forbidden
You don't have permission to access /webdav/ on this server.
Apache/2.2.8 (Ubuntu) DAV/2 SVN/1.5.1 mod_jk/1.2.25 mod_python/3.3.1 Python/2.5.2 PHP/5.2.4-2ubuntu5.5 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g mod_perl/2.0.3 Perl/v5.8.8 Server at nargzul.com Port 80
I wrote an article/document on how to do this under RHEL/CentOS, which can be adapted for your Apache environment.
http://www.experts-exchang
---
Here is another tutorial I happened to stumble upon as well for Ubuntu platforms...
http://www.howtoforge.com/
Wow, you tutorial looks great, I've just one question,
on my config file I've this notice:
# ATTENTION!
# DO NOT MODIFY THIS FILE OR ANY PART OF IT. THIS CAN RESULT IN IMPROPER PLESK
# FUNCTIONING OR FAILURE, CAUSE DAMAGE AND LOSS OF DATA. IF YOU REQUIRE CUSTOM
# MODIFICATIONS TO BE APPLIED TO THE CONFIGURATION, PLEASE, PERFORM THEM IN THE
# FOLLOWING FILE(S):
# /var/www/vhosts/nargzul.co
# /var/www/vhosts/nargzul.co
But the virtualhost you describe is already in this file, so:
-I must modify this file
-I can put your exemple(with small modifications) in the vhost.conf file?
-I must modify the structure of your exemple to put in the vhost.conf file?
I have attached the completed WebDAV part that you need, however you still need to create the WebDAV userid and also setup the WebDAV passwd.dav and group files as well.
The last step is to create our password file (unless we're using an existing one) and if necessary the directory we're enabling with WebDAV:
'mkdir -pv /var/www/vhosts/nargzul.co
'htpasswd -c /var/www/vhosts/nargzul.co
'chgrp apache /var/www/vhosts/nargzul.co
'chmod 775 /var/www/vhosts/nargzul.co
Here is an example of using a combination password file and group file rather than just a
basic user login:
passwd.dav
myuserid:kzIZet0Sl1eBs
someone_else:3JMBwk6jj0/w6
WebDavGroup
webdav: myuserid someone_else
I've put what you said in the vhost file(just without the part about the authentication, and as you can see:
http://nargzul.com/webdav/
It doesn't work :(
After you added in the vhost entry w/ webdav, did you bounce the Apache daemon? This is required each time the vhost.conf entries are modified.
As for the directory listing, the site might actually be working as the default Apache rule upon Linux servers is not to show the directory contents/listing.
I suppose that is OK:
root@nargzul:/var/www/vhos
* Restarting web server apache2 [ OK ]
So what can I do for?
I find strange that I've already any virtualhost in the httpd.include AND in the vhost.conf? And is it sure that the vhost.conf is read? Because by default there isn't any vhost.conf, only httpd.conf.
Thanks for all your answers
I don't use Plesk (or any other shell/web interface) just for this very reason since it screws up the virtual host environment royally.
The only other idea I can think of is that your provider has something in the httpd.conf that is restricting the HTTP methods allowed against the server. There is possibly a <Limit> statement in the default httpd that needs to be modified.
In all honesty, I don't know much about Ubuntu as a whole as it's based on the Debian distro. I focus on RedHat-based platforms (i.e. RHEL, CentOS & Fedora) as it is much easier to setup -- especially when it comes to LAMP application needs.
Under Apache 2.2, here's a copy of my virthost.conf I included through the httpd.conf and it works flawlessly...
Here's is a copy of my home WebDAV entry w/o the group or username needs.
Also, I have included two code file snippets that I use for allowing the directory contents to be listed in an index format. Just save the two files (i.e. header.htm and index.php) in the /webdav/ directory and when the directory is seen via using a web browser, it should only reveal the contents of the webdav directory.
Business Accounts
Answer for Membership
by: mwecomputersPosted on 2009-04-14 at 04:49:04ID: 24137091
To use WebDAV, you have to have access to the httpd.conf file. You cannot use an .htaccess file for WebDAV.
A quick way to see if you have it installed along with php, is to create a simple index.php file with <?php phpinfo(); ?> in that file. When you open it up in a browser, it will reveal if mod_dav and mod_dav_fs modules are enabled in your Apache web server instance.