git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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/
Previous: Johannes SchindelinNext: Han-Wen Nienhuys
Message 3 of 8 in “Installation instructions for gitweb?”
  1. Han-Wen NienhuysMar 22, 2007
  2. Johannes SchindelinMar 22, 2007
  3. Frank LichtenheldMar 23, 2007
  4. Han-Wen NienhuysMar 23, 2007
  5. Frank LichtenheldMar 23, 2007
  6. gitweb: Add some installation notes in gitweb/INSTALLJakub Narebski, Mar 24, 2007
  7. Han-Wen NienhuysMar 25, 2007
  8. gitweb: Add example of config file and how to generate projects list to gitweb/INSTALLJakub Narebski, Mar 26, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.