WebDAV issues
Hi Dirk,
Not sure what's wrong with your config but I would make sure to check the config with:
$ sudo apache2ctl configtest
Correct any errors, and make sure to restart apache completely:
$ sudo service apache2 restart
2011/5/4 Dirk Deimeke <dirk@deimeke.net>
Hi,
I have an Apache webserver with the following configuration:
---
NameVirtualHost 1.2.3.4:443
<VirtualHost 1.2.3.4:443>
* *ServerName server.example.com
* *AccessFileName .acl
[...]
* *# WebDAV
* *DavLockDB /srv/dav/lockdb
[...]
* *Alias /serendipity "/srv/www/webdav"
* *<Directory "/srv/www/webdav">
* * * *DAV on
* * * *ForceType text/plain
* * * *Options +Indexes
* * * *AllowOverride None
* * * *AuthType Basic
* * * *AuthName "Serendipity Testblog"
* * * *AuthUserFile /srv/pwd/serendipity
* * * *Require valid-user
* *</Directory>
[...]
</VirtualHost>
---
The mentioned directory "webdav" contains a .htaccess file coming from the application deployed to that directory.
---
Wenn I try to access files via WebDAV I see an error in the error log like:
[Tue May 03 09:48:02 2011] [error] [client a.b.c.d] client denied by server configuration:
/srv/www/webdav/.htaccess
---
Any ideas?
The AccessFileName directive should change the name of the file to .acl for the complete VirtualHost and with "AllowOverride None" even this one should not be considered.
Thanks a lot for any hint.
Dirk
--
Kontakt: *http://d5e.org/contact
Blogs: * *http://dirk.deimeke.net/ * * *- http://adminstories.de/
Podcasts: http://d5e.org/wattenichsachs - http://deimhart.net/
Projekte: http://blog.radiotux.de/ * * *- http://taskwarrior.org/
--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
|