i posted this question in the german group. i am sorry about this double-posting, but i really need to get this work until wednesday.
i installed webdav, but it alway says "405 Method Not Allowed". i'd like to access to the "/efin"-directory. NOT depending on parameters given to cadaver it alway rejects the path. i also tried to add an useraccount (like https://user@localhost/efin").
(it is not relevant whether i use http or https exept for the untrusted certificate)/var/dav # cadaver https://localhost/efin
WARNING: Untrusted server certificate presented for `localhost':
Issued to: Test Certificate, Apache HTTP Server
Issued by: For testing purposes only, Apache HTTP Server
Certificate is valid from Sat, 05 Nov 2005 23:05:21 GMT to Sun, 05 Nov 2006 23:05:21 GMT
Do you wish to accept the certificate? (y/n) y
Could not access /efin/ (not WebDAV-enabled?):
405 Method Not Allowed
Connection to `localhost' closed.
dav:!>
/etc/apache2/modules.d/45_mod_dav.conf:
(i also tried to unmark the remarks, but nothing changed)
Code: Select all
Alias /efin /var/dav/mydavserver
<Directory /var/dav/mydavserver>
Options None
Dav On
# AllowOverride None
# Order allow,deny
# Allow from all
<Limit GET PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
AuthType Basic
AuthName "WebDav Restricted Repository"
AuthUserFile /var/dav/.davpasswd
Require valid-user
</Limit>
</Directory>
Code: Select all
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D SSL_DEFAULT_VHOST -D PHP5 -D DAV -D DAV_FS -D SVN -D SVN_AUTHZ"
Code: Select all
/var/dav # l
537546249 0 drwxr-xr-x 3 apache apache 100 Mar 30 21:42 .
671089061 4 drwxr-xr-x 15 root root 4096 Mar 30 11:04 ..
537546251 4 -rw-r--r-- 1 apache apache 20 Mar 30 19:49 .davpasswd
604259106 0 drwxrwxrwx 2 apache apache 6 Mar 30 11:04 mydavserver
Code: Select all
[30/Mar/2008:22:04:01 +0000] 127.0.0.1 TLSv1 DHE-RSA-AES256-SHA "OPTIONS /efin/ HTTP/1.1" -
[30/Mar/2008:22:04:01 +0000] 127.0.0.1 TLSv1 DHE-RSA-AES256-SHA "PROPFIND /efin/ HTTP/1.1" 291Code: Select all
127.0.0.1 - - [30/Mar/2008:22:04:01 +0000] "OPTIONS /efin/ HTTP/1.1" 200 -
127.0.0.1 - - [30/Mar/2008:22:04:01 +0000] "PROPFIND /efin/ HTTP/1.1" 405 291Thanks for your assistance in advance.
best regards
Markus

