From: Jakub Narebski Date: Sat, 22 May 2010 21:30:42 GMT Subject: Re: [RFC/PATCHv3] git-instaweb: Add support for running gitweb via 'plackup' Message-ID: <201005222330.43532.jnareb@gmail.com> In-Reply-To: <1274392538-29687-1-git-send-email-jnareb@gmail.com> On Thu, 20 May 2010, Jakub Narebski wrote: > The configuration for 'plackup' is currently embedded in generated > gitweb.psgi wrapper, instead of using httpd.conf ($conf). A question: is this solution acceptable? Or should the configuration (port, address if git-instaweb was run with '--local', root) be in a separate file. Webrick, which is in similar situation, uses httpd.conf config file in YAML. Unfortunately there is no config / serialization reader in Perl core, so if we have to go this route either the config file would have to be in Perl, or gitweb.psgi wrapper would have to include some simple config file parsing. -- Jakub Narebski Poland