packages: git-core/git-core-gitweb-httpd.conf - working apache configurations
draenog
draenog at pld-linux.org
Mon Jul 2 10:25:02 CEST 2012
Author: draenog Date: Mon Jul 2 08:25:02 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- working apache configurations
---- Files affected:
packages/git-core:
git-core-gitweb-httpd.conf (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/git-core/git-core-gitweb-httpd.conf
diff -u packages/git-core/git-core-gitweb-httpd.conf:1.1 packages/git-core/git-core-gitweb-httpd.conf:1.2
--- packages/git-core/git-core-gitweb-httpd.conf:1.1 Sun Jun 24 14:01:02 2007
+++ packages/git-core/git-core-gitweb-httpd.conf Mon Jul 2 10:24:57 2012
@@ -4,20 +4,25 @@
</Directory>
# Version 1 (default): under /cgi-bin/gitweb.cgi address
+Alias /cgi-bin/static/ /usr/share/gitweb/static/
ScriptAlias /cgi-bin/gitweb.cgi /usr/lib/cgi-bin/gitweb.cgi
-Alias /gitweb/ /usr/share/gitweb/
<Location /cgi-bin/gitweb.cgi>
Allow from All
</Location>
+SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
+#
# Version 2: gitweb as a handler to whole vhost:
#<VirtualHost *:80>
# ServerName gitweb
#
-# Alias /gitweb/ /usr/share/gitweb/
-# DocumentRoot /usr/lib/cgi-bin/gitweb.cgi
+# Alias /static /usr/share/gitweb/static
+# DocumentRoot /usr/lib/cgi-bin
+# AddHandler cgi-script .cgi
+# DirectoryIndex gitweb.cgi
# <Location />
# Options ExecCGI
# Allow from All
# </Location>
+# SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
#</VirtualHost>
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/git-core/git-core-gitweb-httpd.conf?r1=1.1&r2=1.2
More information about the pld-cvs-commit
mailing list