Portál AbcLinuxu, 10. května 2025 09:19
DavLockDB /var/lock/DavLock <Directory "/srv/www/htdocs/kalendar"> # <IfModule mod_dav.c> Dav On # </IfModule> AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec Order allow,deny Allow from all AuthName "Kalendar" AuthType Basic AuthUserFile /srv/www/htdocs/kalendar/.htpasswd AuthGroupFile /dev/null <Limit GET PUT POST DELETE PROFIND PROPATCH MKCOL COPY MOVE LOCK UNLOCK> Require valid-user </Limit> </Directory>Tak to mam nastaveny adresar, kde bych chtel pouzit WEBDAV. Kdyz pouziji program litmus, tak skonci v druhym kroku hlaskou - server nepodporuje MKCOL.
xxx:/home/ads # litmus http://xxx..cz/kalendar xxx xxxxx -> running `basic': 0. init.................. pass 1. begin................. FAIL (Could not create new collection `/kalendar/litmus/' for tests: 500 Internal Server Error Server must allow `MKCOL /kalendar/litmus/' for tests to proceed) <- summary for `basic': of 2 tests run: 1 passed, 1 failed. 50.0% See debug.log for network/debug traces.V logu se objevy
[Thu Feb 09 17:12:28 2006] [error] [client xxx] The locks could not be queried \ for verification against a possible "If:" header. [500, #0] [Thu Feb 09 17:12:28 2006] [error] [client xxx] \ Could not open the lock database. [500, #400] [Thu Feb 09 17:12:28 2006] [error] [client xxx] (13)Permission denied: Could not\ open property database. [500, #1]
/var/lock/
? Chce si v něm totiž vyrobit soubory DAVLock.dir
a DAVLock.pag
/var/lock
jenom tehdy, když na to má práva uživatel, pod kterým běží apache (většinou nobody).
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.