[CentOS] WebDav on CentOS?

Dave

dave.mehler at gmail.com
Tue Aug 18 17:48:35 UTC 2009


Hello,
	I'm trying to set up webdav on apache on centos. My web area has dav
on set, it's permissions are 775 owner of the apache user and group of the
webdev group which i put users in who can write to the area. As a user
locally logged on to the machine i can cd to the area and create content
though it is owned and has a group of the user who made it i don't think
this is what i want. Whenever i try to connect via webdav i'm informed that
a new folder can not be created. Here's some output any help appreciated.
Thanks.
Dave.

<VirtualHost *:80>
ServerName test.example.com
ServerAdmin webmaster at example.com
DocumentRoot /var/www/test.example.com/data
ErrorLog /var/www/test.example.com/logs/error_log
TransferLog /var//www/test.example.com/logs/access_log
<directory /var/www/test.example.com/data>
       Options +Includes Indexes FollowSymLinks
       AddType text/html shtm
       AddOutputFilter Includes shtm
       AllowOverride all
Dav On
AuthType Basic
AuthName "Test and Development Area"
AuthUserFile /var/www/test.example.com/secure/htpasswd
AuthGroupFile /dev/null
require valid-user
Order allow,deny
allow from all
satisfy all
</directory>
DavLockDB "/var/www/test.example.com/dav/davdb"
</VirtualHost>

[Tue Aug 18 12:33:19 2009] [error] [client xxx.xxx.xxx.xxx] File does not
exist: /var/www/test.example.com/data/New Folder
[Tue Aug 18 12:33:20 2009] [error] [client xxx.xxx.xxx.xxx] (13)Permission
denied: Unable to create collection.  [403, #0]
xxx.xxx.xxx.xxx - user [18/Aug/2009:12:33:19 -0500] "HEAD /New%20Folder
HTTP/1.1" 404 -
xxx.xxx.xxx.xxx - user [18/Aug/2009:12:33:20 -0500] "MKCOL /New%20Folder
HTTP/1.1" 403 212

directory permissions:
drwxrwxr-x 2 root webdev 4096 Aug 18 12:31 data/




More information about the CentOS mailing list