components/apache24/patches/dav.conf.in.patch
branchs11-update
changeset 3877 d7cb5bc8ee50
parent 278 77b380ba9d84
equal deleted inserted replaced
3876:da37433d5103 3877:d7cb5bc8ee50
       
     1 Patch origin: in-house
       
     2 Patch status: Solaris-specific; not suitable for upstream
       
     3 
       
     4 Enforces usage of /var instead of /usr for data.
       
     5 Enforces lock file into /var/run.
       
     6 
       
     7 --- docs/conf/extra/httpd-dav.conf.in
       
     8 +++ docs/conf/extra/httpd-dav.conf.in
       
     9 @@ -12,18 +12,18 @@
       
    10  # on the directory where the DavLockDB is placed and on any directory where
       
    11  # "Dav On" is specified.
       
    12  
       
    13 -DavLockDB "@@ServerRoot@@/var/DavLock"
       
    14 +DavLockDB "@@RuntimeDir@@/DavLock"
       
    15  
       
    16 -Alias /uploads "@@ServerRoot@@/uploads"
       
    17 +Alias /uploads "@@DataDir@@/uploads"
       
    18  
       
    19 -<Directory "@@ServerRoot@@/uploads">
       
    20 +<Directory "@@DataDir@@/uploads">
       
    21      Dav On
       
    22  
       
    23      AuthType Digest
       
    24      AuthName DAV-upload
       
    25      # You can use the htdigest program to create the password database:
       
    26 -    #   htdigest -c "@@ServerRoot@@/user.passwd" DAV-upload admin
       
    27 -    AuthUserFile "@@ServerRoot@@/user.passwd"
       
    28 +    #   htdigest -c "@@SysconfDir@@/user.passwd" DAV-upload admin
       
    29 +    AuthUserFile "@@SysconfDir@@/user.passwd"
       
    30      AuthDigestProvider file
       
    31  
       
    32      # Allow universal read-access, but writes are restricted