Portál AbcLinuxu, 25. listopadu 2025 01:52
.
< = < > = >
pre nebo code, vždy mi to hlásilo, že např. "Značka DIRECTORY není povolena!", takže jsem to musel dát do nějakých jiných závorek. Např.[/Directory].
Nevím, možná je způsob, jak to napsat ale nepřišel jsem na něj. Pokud mi poradíte, budu rád. Díky! PS: Ale dá se to vydržet i bez toho
.
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]
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.