WebDAV?

John Abreau jabr at blu.org
Wed Oct 2 17:33:55 EDT 2002


pll at lanminds.com writes:

> What I'm specifically looking for are an "Intro to" followed by an 
> "Administrator's Guide" type documents.
> 
> Can someone point me in the right direction?

I ran across something a few weeks ago, kind of a howto for turning 
MacOSX Jaguar into an .Mac server replacement, and part of it was 
about enabling WebDAV. I don't remember the url offhand, though you 
could probably find it easy enough through google.

I enabled it on my Linux box at home (Redhat 7.3) at the time, and it
worked great with the command-line tool "cadaver". Here's what I changed 
in my httpd.conf to turn it on:

1. After the "LoadModule dav_module" directive, I added a "DAVLockDB" 
directive:

    <IfDefine HAVE_DAV>
    LoadModule dav_module         modules/libdav.so
  + DAVLockDB /var/www/davlocks/DAVLockDB
    </IfDefine>

I also created the directory "/var/www/davlocks" and made sure the user
apache was able to write to it. Apache creates a dbm database in there.

2. To enable WebDAV on a directory:

    Alias /dav/ "/tmp/dav/"
    <Directory "/tmp/dav">
        DAV On
        AuthName 'WebDAV Test' 
        AuthType Basic
        AuthUserFile /tmp/htpasswd
        AuthGroupFile /dev/null
        <LimitExcept GET HEAD OPTIONS>
                require valid-user
        </LimitExcept>
    </Directory>

I believe that's all I changed to get it working. Oh, and of course apache 
needs the mod_dav rpm installed before it will recognize the DAV 
directives.


-- 
John Abreau / Executive Director, Boston Linux & Unix 
IM: jabr at jabber.blu.org / abreauj at aim / abreauj at yahoo / 28611923 at icq
Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99

   Some people say, "The enemy of my enemy is my friend."
   I often respond, "When elephants fight, it's the grass
   that gets trampled."



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 344 bytes
Desc: not available
Url : http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20021002/0d4ca990/attachment.bin


More information about the gnhlug-discuss mailing list