Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Aug 2004 21:43:43 -0400
From:      Alan Curtis <acurtis@ieee.org>
To:        freebsd-questions@freebsd.org
Subject:   Getting mod_dav to work
Message-ID:  <359CDA42-ECCA-11D8-B4CE-000A958FBA16@ieee.org>

next in thread | raw e-mail | index | archive | help
I would like to install the mod_dav port to allow me to make webDAV  
connections from my OS X machine to my FreeBSD server.

I am using

FreeBSD 4.10-RELEASE
apache 1.3.13
mod_dav-1.0.3_1

I installed everything and then followed the instructions from the  
mod_dav website and put the following lines in my httpd.conf file.

DAVLockDB /var/db/DAVLock
DAVMinTimeout 600
DAVDepthInfinity On

<Location /usr/home/alan/www/dav >
DAV on
</Location>

I restarted apache.

I made www the owner and group of /usr/home/alan/www/dav

I can access /usr/home/alan/www/dav through a browser.

But, using the Goliath dav client, I get an error message and the  
following log file


====================== Outgoing Request ======================
OPTIONS / HTTP/1.0
Content-Type: text/plain; charset="us-ascii"
User-Agent: Goliath/1.0.1 (Macintosh-Carbon; PPC)
Host: 192.168.1.100
Connection: Close




====================== Incoming Response ======================
HTTP/1.1 200 OK
Date: Fri, 13 Aug 2004 01:25:03 GMT
Server: Apache/1.3.31 (Unix) DAV/1.0.3
Content-Length: 0
Allow: GET, HEAD, OPTIONS, TRACE
Connection: close




====================== Outgoing Request ======================
PROPFIND / HTTP/1.1
MIME-Version: 1.0
Content-Type: text/xml
User-Agent: Goliath/1.0.1 (Macintosh-Carbon; PPC)
Content-Length: 187
Host: 192.168.1.100
Depth: 1

<?xml version="1.0" encoding="utf-8" ?>
<propfind  
xmlns="DAV:"><prop><getlastmodified/><getcontentlength/><resourcetype/ 
 ><getcontenttype/><lockdiscovery/><resourcetype/></prop></propfind>


====================== Incoming Response ======================
HTTP/1.1 405 Method Not Allowed
Date: Fri, 13 Aug 2004 01:25:03 GMT
Server: Apache/1.3.31 (Unix) DAV/1.0.3
Allow: GET, HEAD, OPTIONS, TRACE
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>405 Method Not Allowed</TITLE>
</HEAD><BODY>
<H1>Method Not Allowed</H1>
The requested method PROPFIND is not allowed for the URL /index.html.<P>
<HR>
<ADDRESS>Apache/1.3.31 Server at my.ip.address Port 80</ADDRESS>
</BODY></HTML>



I am a FreeBSD and apache novice, so any help would be appreciated.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?359CDA42-ECCA-11D8-B4CE-000A958FBA16>