]> git.pld-linux.org Git - packages/git-core.git/commitdiff
gitweb: mod_env in suggests, so make SetEnv block optional
authorElan Ruusamäe <glen@delfi.ee>
Sun, 13 Oct 2013 20:17:12 +0000 (23:17 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 13 Oct 2013 20:17:12 +0000 (23:17 +0300)
git-core-gitweb-httpd.conf

index 0feccbbeafd820eabfd7ad111aa2457f74dad698..51ffd6c57de2a9fe6f1c63297705c6f11c45220e 100644 (file)
@@ -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:
This page took 0.036483 seconds and 4 git commands to generate.