components/apache24/patches/dav.conf.in.patch
author Tomas Klacko <tomas.klacko@oracle.com>
Thu, 18 Sep 2014 09:47:48 -0700
changeset 2096 ea57cc1059bf
parent 2079 46ce7840065c
permissions -rw-r--r--
19616471 problem in UTILITY/NET-SNMP

Patch origin: in-house
Patch status: Solaris-specific; not suitable for upstream

Enforces usage of /var instead of /usr for data.
Enforces lock file into /var/run.

--- docs/conf/extra/httpd-dav.conf.in
+++ docs/conf/extra/httpd-dav.conf.in
@@ -12,18 +12,18 @@
 # on the directory where the DavLockDB is placed and on any directory where
 # "Dav On" is specified.
 
-DavLockDB "@@ServerRoot@@/var/DavLock"
+DavLockDB "@@RuntimeDir@@/DavLock"
 
-Alias /uploads "@@ServerRoot@@/uploads"
+Alias /uploads "@@DataDir@@/uploads"
 
-<Directory "@@ServerRoot@@/uploads">
+<Directory "@@DataDir@@/uploads">
     Dav On
 
     AuthType Digest
     AuthName DAV-upload
     # You can use the htdigest program to create the password database:
-    #   htdigest -c "@@ServerRoot@@/user.passwd" DAV-upload admin
-    AuthUserFile "@@ServerRoot@@/user.passwd"
+    #   htdigest -c "@@SysconfDir@@/user.passwd" DAV-upload admin
+    AuthUserFile "@@SysconfDir@@/user.passwd"
     AuthDigestProvider file
 
     # Allow universal read-access, but writes are restricted