summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 128eead)
raw | patch | inline | side by side (parent: 128eead)
author | Alan Chandler <alan@chandlerfamily.org.uk> | |
Tue, 3 Oct 2006 21:48:46 +0000 (22:48 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 4 Oct 2006 06:58:38 +0000 (23:58 -0700) |
Signed-off-by: Alan Chandler <alan@chandlerfamily.org.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/README | patch | blob | history |
diff --git a/gitweb/README b/gitweb/README
index 61c7ab5d4bbb770e50e89e2e5d0619ffda7e8577..78e6fc05f3dbbc274f7f1523e861799a4161f379 100644 (file)
--- a/gitweb/README
+++ b/gitweb/README
DocumentRoot /pub/git
RewriteEngine on
RewriteRule ^/(.*\.git/(?!/?(info|objects|refs)).*)?$ /cgi-bin/gitweb.cgi%{REQUEST_URI} [L,PT]
+ SetEnv GITWEB_CONFIG /etc/gitweb.conf
</VirtualHost>
The above configuration expects your public repositories to live under
If you then start your git-daemon with --base-path=/pub/git --export-all
then you can even use the git:// URL with exactly the same path.
+Setting the environment variable GITWEB_CONFIG will tell gitweb to use
+the named file (i.e. in this example /etc/gitweb.conf) as a
+configuration for gitweb. Perl variables defined in here will
+override the defaults given at the head of the gitweb.perl (or
+gitweb.cgi). Look at the comments in that file for information on
+which variables and what they mean.
Originally written by: