Re: Installation instructions for gitweb?
- From
Frank Lichtenheld <frank@lichtenheld.de>
- Date
- Mar 23, 2007, 16:12 UTC
- Message-ID
- <20070323161210.GI8017@planck.djpig.de>
- In-Reply-To
- <etufpl$7en$1@sea.gmane.org>
On Thu, Mar 22, 2007 at 02:52:53PM -0300, Han-Wen Nienhuys wrote:
Show 5 quoted lines
> I'm trying to get gitweb to serve my local repositories on the intranet > here, but I am not successful in getting it to run. I got as far as > getting gitweb page, containing no projects but only "403 forbidden - No > projects found." I tried setting the projects_list to a directory, a > subdirectory, a file with the projects to be published, etc.
>From looking at the code this error can mean quite a few things:
- you set $projectroot incorrectly - you set $projects_list incorrectly - you set $export_ok to something != "" and didn't create the necessary files - your repositories lack HEAD refs (don't know how this could happen, though)
More diagnosis is difficult without knowing your exact setup.
> Is there a guide on setting up gitweb for hare-brained people like me > that don't know apache and don't know perl? In particular, the format of > gitweb_conf.perl is not documented at all.
gitweb_conf.perl is just included as perl code. It is primarly useful for overriding the variables defined at the top of gitweb.cgi
Gruesse,
-- Frank Lichtenheld <frank@lichtenheld.de> www: http://www.djpig.de/