SOURCES: git-core-gitweb.conf (NEW), git-core-gitweb-httpd.conf (N...

adamg adamg at pld-linux.org
Sun Jun 24 14:01:07 CEST 2007


Author: adamg                        Date: Sun Jun 24 12:01:07 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- gitweb files

---- Files affected:
SOURCES:
   git-core-gitweb.conf (NONE -> 1.1)  (NEW), git-core-gitweb-httpd.conf (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/git-core-gitweb.conf
diff -u /dev/null SOURCES/git-core-gitweb.conf:1.1
--- /dev/null	Sun Jun 24 14:01:07 2007
+++ SOURCES/git-core-gitweb.conf	Sun Jun 24 14:01:02 2007
@@ -0,0 +1,24 @@
+# 
+# this file is a fragment of a PERL code
+# you can set variables using  "our $variable = value;"
+# comments start with "#"
+# 
+# for more info, refer to README and INSTALL files installed
+# in /usr/share/doc/git-core-gitweb*
+#
+
+#
+# to enable blame, pickaxe search and snapshot support, while allowing
+# individual projects to turn them off, uncomment the following
+# 
+
+# $feature{'blame'}{'default'} = [1];
+# $feature{'blame'}{'override'} = 1;
+
+# $feature{'pickaxe'}{'default'} = [1];
+# $feature{'pickaxe'}{'override'} = 1;
+
+# $feature{'snapshot'}{'default'} = ['x-gzip', 'gz', 'gzip'];
+# $feature{'snapshot'}{'override'} = 1;
+
+# vim: set ft=perl

================================================================
Index: SOURCES/git-core-gitweb-httpd.conf
diff -u /dev/null SOURCES/git-core-gitweb-httpd.conf:1.1
--- /dev/null	Sun Jun 24 14:01:07 2007
+++ SOURCES/git-core-gitweb-httpd.conf	Sun Jun 24 14:01:02 2007
@@ -0,0 +1,23 @@
+<Directory /usr/share/gitweb>
+	AllowOverride None
+	Allow from All
+</Directory>
+
+# Version 1 (default): under /cgi-bin/gitweb.cgi address
+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>
+
+# 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
+#	<Location />
+#		Options ExecCGI
+#		Allow from All
+#	</Location>
+#</VirtualHost>
================================================================


More information about the pld-cvs-commit mailing list