1 |
--- smeserver-mod_dav-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35DavLock.fixHttpdErrorWhenDisabled 2009-02-28 13:21:47.000000000 +0100 |
--- smeserver-mod_dav-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35DavLock.fixHttpdErrorWhenDisabled 2009-02-28 13:21:47.000000000 +0100 |
2 |
+++ smeserver-mod_dav-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35DavLock 2009-02-28 13:24:29.000000000 +0100 |
+++ smeserver-mod_dav-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35DavLock 2009-02-28 13:24:29.000000000 +0100 |
3 |
@@ -1 +1,5 @@ |
@@ -1 +1,7 @@ |
4 |
-DAVLockDB /var/run/davLocks/DAVLock |
-DAVLockDB /var/run/davLocks/DAVLock |
|
+my $status = $modDAV{status} || 'disabled'; |
|
|
+if ( $status eq "enabled" ) |
|
5 |
+{ |
+{ |
6 |
+ $OUT .= "DAVLockDB /var/run/davLocks/DAVLock\n"; |
+ my $status = $modDAV{status} || 'disabled'; |
7 |
|
+ if ( $status eq "enabled" ) |
8 |
|
+ { |
9 |
|
+ $OUT .= "\nDAVLockDB /var/run/davLocks/DAVLock\n"; |
10 |
|
+ } |
11 |
+} |
+} |