Matt:
          I've been testing DAV with DAVfs for a little while now.  Use my
config below as you see fit.  The below config is just a template I used
from compiling Apache2 from source.  Lastly, the config below is a file
named httpd-dav.conf.  Enjoy.



DavLockDB "/opt/apache2/var/DavLock"

Alias /uploads "/opt/apache2/uploads"

<Directory "/opt/apache2/uploads">
    Dav On

    Order Allow,Deny
    Allow from all

    AuthType Digest
    AuthName DAV-upload

    # You can use the htdigest program to create the password database:
    #   htdigest -c "/opt/apache2/user.passwd" DAV-upload admin
    AuthUserFile "/opt/apache2/user.passwd"
    AuthDigestProvider file

    # Allow universal read-access, but writes are restricted
    # to the admin user.
    <LimitExcept GET OPTIONS>
        require user admin
    </LimitExcept>
</Directory>








2011/3/10 zMatthew <mathewz...@hotmail.com>

>  I configured Apache2 to allow "PUT" method on a directory,
>
>    -      /usr/local/apache/DAVLock is writeable by Apache
>
>
>    -     "LoadModule dav_module modules/mod_dav.so"  is uncommented
>    -     "LoadModule dav_module modules/mod_dav_fs.so" is uncommented
>
>
> I just added  2 lines in default httpd.conf
>
> *DAVLockDB /usr/local/apache/DAVLock
> *
> <Directory />
>     *DAV On*
>     ....
>
> However, PUT method still isn't seen via " OPTIONS / HTTP/1.0"
> Could someone give me a hand? thanks
>
>



-- 
Ezra Taylor

Reply via email to