[packages/git-core] gitweb: mod_env in suggests, so make SetEnv block optional

glen glen at pld-linux.org
Sun Oct 13 22:17:45 CEST 2013


commit 4cfd9bdbf7d140392035d42d2332e92bdc0f792e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Oct 13 23:17:12 2013 +0300

    gitweb: mod_env in suggests, so make SetEnv block optional

 git-core-gitweb-httpd.conf | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/git-core-gitweb-httpd.conf b/git-core-gitweb-httpd.conf
index 0feccbb..51ffd6c 100644
--- a/git-core-gitweb-httpd.conf
+++ b/git-core-gitweb-httpd.conf
@@ -25,7 +25,9 @@ ScriptAlias /cgi-bin/gitweb.cgi /usr/lib/cgi-bin/gitweb.cgi
 		Require all granted
 	</IfModule>
 </Location>
-SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
+<IfModule mod_env.c>
+	SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
+</IfModule>
 
 #
 # Version 2: gitweb as a handler to whole vhost:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/git-core.git/commitdiff/4cfd9bdbf7d140392035d42d2332e92bdc0f792e



More information about the pld-cvs-commit mailing list