[Fusionforge-commits] r10181 - in trunk/src/etc: httpd.conf.d httpd.conf.d-fhs httpd.conf.d-opt httpd.conf.d-usrlocal

Christian Bayle cbayle at libremir.placard.fr.eu.org
Sat Jul 3 21:31:37 CEST 2010


Author: cbayle
Date: 2010-07-03 21:31:37 +0200 (Sat, 03 Jul 2010)
New Revision: 10181

Modified:
   trunk/src/etc/httpd.conf.d-fhs/plugin-scmsvn.inc
   trunk/src/etc/httpd.conf.d-opt/plugin-scmsvn.inc
   trunk/src/etc/httpd.conf.d-usrlocal/plugin-scmsvn.inc
   trunk/src/etc/httpd.conf.d/plugin-scmsvn.inc
Log:
Protect against unloaded dav_svn module


Modified: trunk/src/etc/httpd.conf.d/plugin-scmsvn.inc
===================================================================
--- trunk/src/etc/httpd.conf.d/plugin-scmsvn.inc	2010-07-03 19:30:55 UTC (rev 10180)
+++ trunk/src/etc/httpd.conf.d/plugin-scmsvn.inc	2010-07-03 19:31:37 UTC (rev 10181)
@@ -1,4 +1,5 @@
 <Location /svn>
+  <IfModule dav_svn>
   DAV svn
   SVNParentPath {scmsvn/repos_path}
   
@@ -8,6 +9,7 @@
   AuthName "Document repository"
   AuthUserFile {core/data_path}/svnroot-authfile
   SVNIndexXSLT "/svnindex.xsl"
+  </IfModule>
   
   # only authenticated users may access the repository
   Require valid-user

Modified: trunk/src/etc/httpd.conf.d-fhs/plugin-scmsvn.inc
===================================================================
--- trunk/src/etc/httpd.conf.d-fhs/plugin-scmsvn.inc	2010-07-03 19:30:55 UTC (rev 10180)
+++ trunk/src/etc/httpd.conf.d-fhs/plugin-scmsvn.inc	2010-07-03 19:31:37 UTC (rev 10181)
@@ -1,4 +1,5 @@
 <Location /svn>
+  <IfModule dav_svn>
   DAV svn
   SVNParentPath /var/lib/gforge/chroot/scmrepos/svn
   
@@ -8,6 +9,7 @@
   AuthName "Document repository"
   AuthUserFile /var/lib/gforge/svnroot-authfile
   SVNIndexXSLT "/svnindex.xsl"
+  </IfModule>
   
   # only authenticated users may access the repository
   Require valid-user

Modified: trunk/src/etc/httpd.conf.d-opt/plugin-scmsvn.inc
===================================================================
--- trunk/src/etc/httpd.conf.d-opt/plugin-scmsvn.inc	2010-07-03 19:30:55 UTC (rev 10180)
+++ trunk/src/etc/httpd.conf.d-opt/plugin-scmsvn.inc	2010-07-03 19:31:37 UTC (rev 10181)
@@ -1,4 +1,5 @@
 <Location /svn>
+  <IfModule dav_svn>
   DAV svn
   SVNParentPath /var/lib/gforge/svnroot
   
@@ -8,6 +9,7 @@
   AuthName "Document repository"
   AuthUserFile /var/lib/gforge/svnroot-authfile
   SVNIndexXSLT "/svnindex.xsl"
+  </IfModule>
   
   # only authenticated users may access the repository
   Require valid-user

Modified: trunk/src/etc/httpd.conf.d-usrlocal/plugin-scmsvn.inc
===================================================================
--- trunk/src/etc/httpd.conf.d-usrlocal/plugin-scmsvn.inc	2010-07-03 19:30:55 UTC (rev 10180)
+++ trunk/src/etc/httpd.conf.d-usrlocal/plugin-scmsvn.inc	2010-07-03 19:31:37 UTC (rev 10181)
@@ -1,4 +1,5 @@
 <Location /svn>
+  <IfModule dav_svn>
   DAV svn
   SVNParentPath /var/lib/gforge/chroot/scmrepos/svn
   
@@ -8,6 +9,7 @@
   AuthName "Document repository"
   AuthUserFile /var/local/lib/gforge/svnroot-authfile
   SVNIndexXSLT "/svnindex.xsl"
+  </IfModule>
   
   # only authenticated users may access the repository
   Require valid-user




More information about the Fusionforge-commits mailing list