From: Daniel Reichelt Date: Sun, 28 Nov 2010 21:25:53 GMT Subject: Re: gitweb: false base href sent when integrated via reverse proxy and path_info is active Message-ID: <4CF2C8E1.1050907@nachtgeist.net> In-Reply-To: <201011282207.03261.jnareb@gmail.com> > The default name of gitweb config file is gitweb_config.perl, not > gitweb.conf. Are you sure you are picking correct config file? Suppose this is Debian-specific: ************ our ($GITWEB_CONFIG, $GITWEB_CONFIG_SYSTEM); sub evaluate_gitweb_config { our $GITWEB_CONFIG = $ENV{'GITWEB_CONFIG'} || "gitweb_config.perl"; our $GITWEB_CONFIG_SYSTEM = $ENV{'GITWEB_CONFIG_SYSTEM'} || "/etc/gitweb.conf"; # die if there are errors parsing config file if (-e $GITWEB_CONFIG) { do $GITWEB_CONFIG; die $@ if $@; } elsif (-e $GITWEB_CONFIG_SYSTEM) { do $GITWEB_CONFIG_SYSTEM; die $@ if $@; } } ************ > Try adding > > our $site_name = "foo"; > > to check if you are picking correct config file. Yap, $site_name shows up in my browser's title.