]> Lady’s Gitweb - Gitweb/commit
gitweb: fallback to system-wide config file if default config does not exist
authorGerrit Pape <redacted>
Wed, 26 Mar 2008 18:11:19 +0000 (18:11 +0000)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:12 +0000 (00:07 -0400)
commit11e87e4d94c0acedccf86d168dc067a1756fed5e51cfdf2319b78bafe338e8b1
tree46c7ba19aad957bcc80f639ad3738df62129fa154768de6d5646b38c81a1a319
parent3fc94f88cca1df1e9221a3d39c3edaa38ac20dc417cbf67c6d5efee6f31c3abf
gitweb: fallback to system-wide config file if default config does not exist

From a distribution point of view, configuration files for applications
should reside in /etc/.  On the other hand it's convenient for multiple
instances of gitweb (e.g. virtual web servers on a single machine) to have
a per-instance configuration file, just as gitweb currently supports
through the file gitweb_config.perl next to the cgi.

To support both at runtime, this commit introduces GITWEB_CONFIG_SYSTEM as
a system-wide configuration file which will be used as a fallback if the
config file sprecified throug GITWEB_CONFIG does not exist.

See also
 http://bugs.debian.org/450592

Signed-off-by: Gerrit Pape <redacted>
Acked-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
INSTALL
README
gitweb.perl
This page took 0.298689 seconds and 4 git commands to generate.