On Thu, Nov 08, 2007 at 02:57:24PM +0100, Thomas Bleher wrote: > I'd like to host multiple copies of gitweb.cgi, since I have both > public and private repos, which I'd like to make browsable on > different subdomains, some password-protected, some public. > > Upstream makes this easy, you just have to provide your config in > "gitweb_conf.perl" in the subdir of the CGI. Debian changes this to > "/etc/gitweb.cgi", making it hard to have multiple different > configurations. > > I propose to first read the file in /etc and then in the dir of the > CGI. This would allow central configuration with the ability to > override it locally.
You can override the location of the config file through the environment variable GITWEB_CONFIG, see upstream's gitweb/README (I need to install this in the gitweb package); does this help? Regards, Gerrit. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]