Apache 2 and mod_dav - httpd.conf

[nfo.caesar]


Subject: Apache 2 and mod_dav - httpd.conf
From: joko (at) netfrag.org (joko)
Newsgroups: nfo.caesar
Organization: netfrag.org
Date: Feb 03 2003 07:08:03

please try to add this to your httpd.conf:

    LoadModule dav_module modules/mod_dav.so
    LoadModule dav_fs_module modules/mod_dav_fs.so

    # The following directive disables redirects on non-GET requests for
    # a directory that does not include the trailing slash.  This fixes a
    # problem with Microsoft WebFolders which does not appropriately handle
    # redirects for folders with DAV methods.
    #
    BrowserMatch "Microsoft Data Access Internet Publishing Provider"
redirect-carefully
    BrowserMatch "^WebDrive" redirect-carefully

    # dav-locking needs this
    DAVLockDB c:/tmp/davLock/dav_lock_db

    # enable the dav-engine on specified directory in filesystem
    <Directory c:/tmp/dav>
        Options FollowSymLinks
        AllowOverride All
        DAV on
    #    <LimitExcept OPTIONS>
    #      require valid-user
    #    </LimitExcept>
    </Directory>

    # make directory available via http (with method 'PUT' as feature
provided by dav in this case)
    Alias / "c:/tmp/dav/"


greets, joko.