Re: Running gitweb under mod_perl
- From
- Dennis Stosberg <dennis@stosberg.net>
- Date
- Aug 24, 2006, 14:05 UTC
- Message-ID
- <20060824140525.G638085b@leonov.stosberg.net>
- In-Reply-To
- <eck6sq$agn$1@sea.gmane.org>
Jakub Narebski wrote:
> Could you tell me what should I do to run gitweb under mod_perl, > and not as CGI script?
About two months ago I sent a set of three patches that made gitweb run with Apache::Registry:
http://marc.theaimsgroup.com/?l=git&m=115089541911624
The first two patches have found their way into git, so the only thing left to do is to change the way the path to the git repository is passed to the git commands.
I haven't updated that patch since then and with all the refactoring gitweb has seen it surely won't apply anymore, but if there's interest I can rebase it to current "next".
> What should I put in Apache configuration (Apache 2.0.54 if this > matters, mod_perl 2.0.1)
>From my configuration:
<Directory /home/dennis/public_html/perl>
Options -Indexes +ExecCGI
AllowOverride None
PerlSendHeader On
SetHandler perl-script
PerlHandler ModPerl::Registry
</Directory>Regards, Dennis