Getting mod_dav to work
Alan Curtis
acurtis at ieee.org
Thu Aug 12 18:43:49 PDT 2004
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.
More information about the freebsd-questions
mailing list