PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : webdav will nicht



toxical
08.03.06, 08:42
Hallo,

ich habe gestern webdav für meinen apache2 eingerichtet, also eigentlich nur die loadmodule anweisungen in die config eingetragen und restartet, scheint auch soweit zu klappen.

Dann habe ich unter Confixx für eine Domain folgendes angelegt:


Alias /webdav /home/www/web0/html/tmp
<Location "/webdav">
DAV On
Options Indexes
AllowOverride None
AuthName "WebDAV Login"
AuthType Basic
AuthUserFile /home/www/web0/html/tmp/.htpasswd
<LIMIT GET POST PUT>
Require valid user
</Limit>
</Location>


ich komme auch per browser auf das alias und kann die Dateien sehen etc aber das liegt wohl eher an "Option Indexes", jedenfalls sehe ich in keinem Browser irgendwelche webdav funktionalitäten...über einen client habe ich versucht eine Datei reinzuschieben und habe einen Error 500 bekommen
scheint also irgendwas noch nicht richtig zu sein :/

jemand ne idee ?

mccologne
09.03.06, 07:30
Hey,

vieleicht hilft Dir dieser Link:
http://www.debian-administration.org/articles/285

Grüße
mccologne

toxical
10.03.06, 10:36
hm also ich habe weiter rumprobiert aber es will einfach nicht, bin glaube ich aber etwas weiter.

ich habe nochmal ein leeres dir erstellt und apache zum owner gemacht, nun sagt mir der webdav client wenn ich drauf zugreifen will "PROPFIND Method not allowed" was darauf hindeutet das webdav nicht richtig geladen ist.

phpinfo zeigt mit aber mod_dav und mod_dav_fs als geladen an und auch als ich Dav On in der CFG gesetzt habe wurde gemeckert das dav_fs noch nicht geladen ist, nachdem ich das gemacht habe kam kein fehler mehr aber ich kann wie gesagt trotzdem nicht drauf zugreifen.

frustrierend :/

ich muss mir wohl oder über auf der lokalen linux kiste das alles mal einrichten und schauen warum das nicht klappt, kann an meiner webserver keine großen experimente starten weil ich da ein recht großes webprojekt betreibe.

sonst niemand eine idee ?

marce
10.03.06, 11:08
... "PROPFIND Method not allowed" ...


<LIMIT GET POST PUT>
sollte Dich also nicht wundern...

toxical
10.03.06, 13:25
nee das hatte ich dann ja auch gesehen und entsprechend alle Methoden dort untergebracht, hat aber nichts genützt, leider :(

marce
10.03.06, 13:29
schmeiss doch mal alles raus, was mit Auth, Limit und so zu tun hat, ob es dann tut. Kannst ja hinterher wieder sukzessive hinzufügen...

toxical
10.03.06, 16:42
hatte auch schon nur Dav on dort stehen, ging ebenfalls nicht

marce
11.03.06, 11:08
komisch - hier bei mir lief das auf Anhieb völlig problemlos...

... das sonstige Gerümpel zu DAV hast Du entsprechend konfiguriert?

toxical
14.03.06, 09:08
ich habe erstmal nur die mods in der apache konfig eingetragen sonst nichts
habe aber auch nirgends gelesen das man sonst noch was machen muss ?

marce
14.03.06, 09:14
Das z.B.:

http://www.webdav.org/mod_dav/install.html

The Lock Database

Next, add a DAVLockDB directive at the top-level of your configuration file (i.e. outside of a <Directory> or <Location> directive). This directive should specify a filename that mod_dav will create. The directory should exist and should be writable by the web server process.

Note: the directory should not be on an NFS-mounted partition. mod_dav uses flock/fcntl to manage access to the database. Some operating systems cannot use these operations on an NFS-mounted partition.

In the following example, the DAV lock database will be stored in the /usr/local/apache/var directory (which must be writable by the server process). The file's name will be DAVLock when mod_dav needs to create it.
(actually, mod_dav will create one or more files using this file name plus an extension)

DAVLockDB /usr/local/apache/var/DAVLock

The DAVLockDB directive can appear outside of any container or within a <VirtualHost>, it only needs to appear once, and a file extension should not be supplied.