From e11e20cac17201862cac19ad34dd92e087c1be68 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Go=C5=82=C4=99biowski?= Date: Sun, 24 Jun 2007 12:01:02 +0000 Subject: [PATCH] - gitweb files Changed files: git-core-gitweb-httpd.conf -> 1.1 git-core-gitweb.conf -> 1.1 --- git-core-gitweb-httpd.conf | 23 +++++++++++++++++++++++ git-core-gitweb.conf | 24 ++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 git-core-gitweb-httpd.conf create mode 100644 git-core-gitweb.conf diff --git a/git-core-gitweb-httpd.conf b/git-core-gitweb-httpd.conf new file mode 100644 index 0000000..7a14945 --- /dev/null +++ b/git-core-gitweb-httpd.conf @@ -0,0 +1,23 @@ + + AllowOverride None + Allow from All + + +# 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/ + + Allow from All + + +# Version 2: gitweb as a handler to whole vhost: +# +# ServerName gitweb +# +# Alias /gitweb/ /usr/share/gitweb/ +# DocumentRoot /usr/lib/cgi-bin/gitweb.cgi +# +# Options ExecCGI +# Allow from All +# +# diff --git a/git-core-gitweb.conf b/git-core-gitweb.conf new file mode 100644 index 0000000..7e5be9a --- /dev/null +++ b/git-core-gitweb.conf @@ -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 -- 2.43.0