FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 05-04-2011, 12:20 PM
Dirk Deimeke
 
Default WebDAV issues

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
 
Old 05-04-2011, 12:41 PM
Arnaud Soyez
 
Default 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
 

Thread Tools




All times are GMT. The time now is 03:41 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org