gitosis did not generate projects.list automatically, gitweb can't work.

Posted by Readon Shaw on Stack Overflow See other posts from Stack Overflow or by Readon Shaw
Published on 2009-11-23T14:38:00Z Indexed on 2010/04/15 0:43 UTC
Read the original article Hit count: 589

Filed under:
|

I setup a gitosis managed git server.

git clone is ok.

but when I set gitweb via gitweb.conf as below:


$projectroot = "/srv/gitosis/repositories";

$git_temp = "/tmp";

$home_text = "indextext.html";

$projects_list = "/srv/gitosis/gitosis/projects.list";

$stylesheet = "/gitweb/gitweb.css";

$logo = "/gitweb/git-logo.png";

$favicon = "/gitweb/git-favicon.png";


Btw, the commet was deleted because of the special symbol # is using as bold prefix.

"403 Forbidden - No projects found" is reported when I access gitweb through "http://localhost/cgi-bin/gitweb.cgi"

I checked the projects.list file it is empty, is that the reason why gitweb access failed? what would be the correct content? can i add it manually?

© Stack Overflow or respective owner

Related posts about gitosis

Related posts about git