Re: [PATCH 0/2] gitweb: Add support for running gitweb as FastCGI script
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- May 8, 2010, 22:41 UTC
- Message-ID
- <201005090041.11864.jnareb@gmail.com>
- In-Reply-To
- <1273236845-6523-1-git-send-email-jnareb@gmail.com>
On Fri, 7 May 2010, Jakub Narebski wrote:
Show 10 quoted lines
> The alternate solution would be to add gitweb.fcgi wrapper, like e.g.: > in the following patch by Eric Wong > > "[PATCH 1/2] gitweb: add a simple wrapper for FCGI support" > http://thread.gmane.org/gmane.comp.version-control.git/35920/focus=35921 > > which was part of the "[0/2 PATCH] FastCGI and nginx support for gitweb" > series. (Note that the patch does 'do $gitweb_cgi;' without checking for > errors, see the bottom of `perldoc -f do` documentation on how it should > be done).
I think a better solution here would be to use CGI::Compile instead of 'do $gitweb_cgi;'.
-- Jakub Narebski Poland