[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

webdav:// -- how is it supposed to work



Hi,

I have here a home server with woody and workstation with sarge (i.e., KDE
3.2.3). I have played with a testing Apache on server to make WebDAV work
(mainly to learn how to make my calendar shared with Apple Mac OS X iCal
and Mozilla Calendars). The results are mixed:

- with the attached patch against /etc/apache/httpd.conf I was able to read
and write to the DAV folder with cadaver,
- I can read a content of the dav folder with http://server/dav
- when trying webdav://server/dav/ in Konqueror I've got an error message
"File or directory webdav://server/dav/ does not exist."
- i tried also webdav://user@server/dav/, but it did not work either.

Any ideas, what could be wrong, please?

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The American Republic will endure, until politicians realize they
can bribe the people with their own money.
    -- Alexis de Tocqueville

--- -	Mon Dec 13 11:56:30 2004
+++ httpd.conf	Mon Dec 13 11:54:18 2004
@@ -234,10 +234,10 @@
 LoadModule unique_id_module /usr/lib/apache/1.3/mod_unique_id.so
 LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so
 # LoadModule sys_auth_module /usr/lib/apache/1.3/mod_auth_sys.so
-# LoadModule dav_module /usr/lib/apache/1.3/libdav.so
+LoadModule dav_module /usr/lib/apache/1.3/libdav.so
 # LoadModule put_module /usr/lib/apache/1.3/mod_put.so
 # LoadModule throttle_module /usr/lib/apache/1.3/mod_throttle.so
-# LoadModule plain_auth_module /usr/lib/apache/1.3/mod_auth_plain.so
+LoadModule plain_auth_module /usr/lib/apache/1.3/mod_auth_plain.so
 # LoadModule allowdev_module /usr/lib/apache/1.3/mod_allowdev.so
 # LoadModule eaccess_module /usr/lib/apache/1.3/mod_eaccess.so
 # LoadModule roaming_module /usr/lib/apache/1.3/mod_roaming.so
@@ -294,7 +294,7 @@
 # e-mailed.  This address appears on some server-generated pages, such
 # as error documents.
 #
-ServerAdmin webmaster@mitmanek.surfbest.net
+ServerAdmin webmaster@mitmanek
 
 #
 # ServerName: allows you to set a host name which is sent back to clients for
@@ -467,7 +467,7 @@
 # module is part of the server.
 #
 <IfModule mod_mime_magic.c>
-    MIMEMagicFile share/magic
+    MIMEMagicFile /usr/lib/apache/1.3/040mod_mime_magic.info
 </IfModule>
 
 #
@@ -917,7 +917,6 @@
 #    SetHandler server-info
 #    Order deny,allow
 #    Deny from all
-#    Allow from .your_domain.com
 #</Location>
 
 # Allow access to local system documentation from localhost.
@@ -927,7 +926,7 @@
 <Location /doc>
   order deny,allow
   deny from all
-  allow from 127.0.0.0/255.0.0.0
+  allow from 127.0.0.0/255.0.0.0 192.168
   Options Indexes FollowSymLinks MultiViews
 </Location>
 
@@ -1013,4 +1012,29 @@
 # Added for mod_dav
 <IfModule mod_dav.c>
     DAVLockDB	/var/lock/DAV/DAVLock
+    DAVMinTimeout 600
+    DAVDepthInfinity On
+    Alias /dav/ /var/www/dav/
+    <Location /dav>
+    	AllowOverride AuthConfig
+	AuthName "DAV Restricted"
+	AuthType Basic
+	AuthUserFile /etc/apache/passwd.dav
+	#Deny from all
+	#Allow from 192.168 127.0.0.1
+	Dav On
+	Options Indexes
+	Order allow,deny
+	Allow from all
+	#<Limit HEAD GET POST OPTIONS PROPFIND>
+	#	Allow from all
+	#</Limit>
+	#<Limit MKCOL PUT DELETE LOCK UNLOCK COPY MOVE PROPPATCH>
+	#	Deny from all
+	#</Limit>
+	#require valid-user
+	<Limit PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
+		Require valid-user
+	</Limit>
+    </Location>
 </IfModule>

Reply to: