--- /dev/null
+<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>
--- /dev/null
+#
+# 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