Hi Dirk,<br>Not sure what's wrong with your config but I would make sure to check the config with:<br>$ sudo apache2ctl configtest<br>Correct any errors, and make sure to restart apache completely:<br>$ sudo service apache2 restart<br>
<br><div class="gmail_quote">2011/5/4 Dirk Deimeke <span dir="ltr"><<a href="mailto:dirk@deimeke.net">dirk@deimeke.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
I have an Apache webserver with the following configuration:<br>
<br>
---<br>
NameVirtualHost <a href="http://1.2.3.4:443" target="_blank">1.2.3.4:443</a><br>
<VirtualHost <a href="http://1.2.3.4:443" target="_blank">1.2.3.4:443</a>><br>
    ServerName <a href="http://server.example.com" target="_blank">server.example.com</a><br>
<br>
    AccessFileName .acl<br>
<br>
[...]<br>
<br>
    # WebDAV<br>
    DavLockDB /srv/dav/lockdb<br>
<br>
[...]<br>
<br>
    Alias /serendipity "/srv/www/webdav"<br>
    <Directory "/srv/www/webdav"><br>
        DAV on<br>
        ForceType text/plain<br>
        Options +Indexes<br>
        AllowOverride None<br>
        AuthType Basic<br>
        AuthName "Serendipity Testblog"<br>
        AuthUserFile /srv/pwd/serendipity<br>
        Require valid-user<br>
    </Directory><br>
<br>
[...]<br>
<br>
</VirtualHost><br>
---<br>
<br>
The mentioned directory "webdav" contains a .htaccess file coming from the application deployed to that directory.<br>
<br>
---<br>
Wenn I try to access files via WebDAV I see an error in the error log like:<br>
[Tue May 03 09:48:02 2011] [error] [client a.b.c.d] client denied by server configuration:<br>
/srv/www/webdav/.htaccess<br>
---<br>
<br>
Any ideas?<br>
<br>
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.<br>
<br>
Thanks a lot for any hint.<br>
<br>
Dirk<br>
<br>
-- <br>
Kontakt:  <a href="http://d5e.org/contact" target="_blank">http://d5e.org/contact</a><br>
Blogs:    <a href="http://dirk.deimeke.net/" target="_blank">http://dirk.deimeke.net/</a>      - <a href="http://adminstories.de/" target="_blank">http://adminstories.de/</a><br>
Podcasts: <a href="http://d5e.org/wattenichsachs" target="_blank">http://d5e.org/wattenichsachs</a> - <a href="http://deimhart.net/" target="_blank">http://deimhart.net/</a><br>
Projekte: <a href="http://blog.radiotux.de/" target="_blank">http://blog.radiotux.de/</a>      - <a href="http://taskwarrior.org/" target="_blank">http://taskwarrior.org/</a><br><font color="#888888">
<br>
-- <br>
ubuntu-server mailing list<br>
<a href="mailto:ubuntu-server@lists.ubuntu.com" target="_blank">ubuntu-server@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-server" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-server</a><br>
More info: <a href="https://wiki.ubuntu.com/ServerTeam" target="_blank">https://wiki.ubuntu.com/ServerTeam</a><br>
</font></blockquote></div><br>