Re: [RFD] Gitweb: Source configuration from file separate from the CGI script
- From
Drew Northup <drew.northup@maine.edu>
- Date
- Mar 16, 2011, 14:44 UTC
- Message-ID
- <1300286650.28805.29.camel@drew-northup.unet.maine.edu>
- In-Reply-To
- <20110316143420.GA15371@elie>
On Wed, 2011-03-16 at 09:34 -0500, Jonathan Nieder wrote:
Show 16 quoted lines
> Hi, > > Drew Northup wrote: > > > I just upgraded my Gitweb package (I'm testing the EPEL RHEL5 latest; > > I'm not too happy with them tweaking the paths) and as I should have > > expected all of my Gitweb configuration is now gone. > > In gitweb/README, I see: > > | You can adjust gitweb behaviour using the file specified in `GITWEB_CONFIG` > | (defaults to 'gitweb_config.perl' in the same directory as the CGI), and > | as a fallback `GITWEB_CONFIG_SYSTEM` (defaults to /etc/gitweb.conf). > > Hope that helps, > Jonathan
I apparently missed that. Alas, I didn't see it in the code when I was setting my values so I assumed that it wasn't available. Perhaps we can make this a little more obvious? I'll go try that out and see if I can make it break--putting it in the same directory definitely wouldn't have helped this time.
-- -Drew Northup ________________________________________________ "As opposed to vegetable or mineral error?" -John Pescatore, SANS NewsBites Vol. 12 Num. 59