/[smecontribs]/rpms/smeserver-mod_dav/contribs7/smeserver-mod_dav-0.1-fixHttpdErrorWhenDisabled.patch |
Parent Directory | Revision Log | Revision Graph
* Sat Feb 28 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1-17 - Do not set DAVLock when module is disabled and not loaded [SME: 5039]
1 | snetram | 1.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 |
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 | ||
3 | @@ -1 +1,5 @@ | ||
4 | -DAVLockDB /var/run/davLocks/DAVLock | ||
5 | +my $status = $modDAV{status} || 'disabled'; | ||
6 | +if ( $status eq "enabled" ) | ||
7 | +{ | ||
8 | + $OUT .= "DAVLockDB /var/run/davLocks/DAVLock\n"; | ||
9 | +} |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |