components/apache2/patches/dav.conf.in.patch
changeset 278 77b380ba9d84
equal deleted inserted replaced
277:12ebd29ad46c 278:77b380ba9d84
       
     1 --- docs/conf/extra/httpd-dav.conf.in.orig	Fri Nov 28 13:53:24 2008
       
     2 +++ docs/conf/extra/httpd-dav.conf.in	Fri Nov 28 14:02:50 2008
       
     3 @@ -12,11 +12,11 @@
       
     4  # on the directory where the DavLockDB is placed and on any directory where
       
     5  # "Dav On" is specified.
       
     6  
       
     7 -DavLockDB "@@ServerRoot@@/var/DavLock"
       
     8 +DavLockDB "@@RuntimeDir@@/DavLock"
       
     9  
       
    10 -Alias /uploads "@@ServerRoot@@/uploads"
       
    11 +Alias /uploads "@@DataDir@@/uploads"
       
    12  
       
    13 -<Directory "@@ServerRoot@@/uploads">
       
    14 +<Directory "@@DataDir@@/uploads">
       
    15      Dav On
       
    16  
       
    17      Order Allow,Deny
       
    18 @@ -26,8 +26,8 @@
       
    19      AuthName DAV-upload
       
    20  
       
    21      # You can use the htdigest program to create the password database:
       
    22 -    #   htdigest -c "@@ServerRoot@@/user.passwd" DAV-upload admin
       
    23 -    AuthUserFile "@@ServerRoot@@/user.passwd"
       
    24 +    #   htdigest -c "@@SysconfDir@@/user.passwd" DAV-upload admin
       
    25 +    AuthUserFile "@@SysconfDir@@/user.passwd"
       
    26      AuthDigestProvider file
       
    27  
       
    28      # Allow universal read-access, but writes are restricted