SOURCES: trac-apache.conf - soft fail when mod_env is not present
glen
glen at pld-linux.org
Tue Dec 6 13:41:41 CET 2005
Author: glen Date: Tue Dec 6 12:41:41 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- soft fail when mod_env is not present
---- Files affected:
SOURCES:
trac-apache.conf (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/trac-apache.conf
diff -u SOURCES/trac-apache.conf:1.3 SOURCES/trac-apache.conf:1.4
--- SOURCES/trac-apache.conf:1.3 Tue Feb 15 23:17:37 2005
+++ SOURCES/trac-apache.conf Tue Dec 6 13:41:36 2005
@@ -1,9 +1,11 @@
# $Id$
# Trac need to know where the database is located
-<Location /trac/trac.cgi>
- SetEnv TRAC_ENV "/var/lib/trac/project"
-</Location>
+<IfModule mod_env.c>
+ <Location /trac/trac.cgi>
+ SetEnv TRAC_ENV "/var/lib/trac/project"
+ </Location>
+</IfModule>
# You might want to activate following urls
# to have easy access to trac as http://YOURSITE/trac
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/trac-apache.conf?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list