Gitosis does not generate .list projects automatically; gitweb cannot work

I am installing a git gitosis< server . >.

git clone fine.

but when i installed gitwebthrough gitweb.confas 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 comet was removed due to the special character # using a bold prefix.

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

I checked the project.list file that it is empty, is there a reason for the denied access to gitweb? what will be the right content? can i add it manually?

+5
source share
4 answers

gitosis.conf , gitweb:

[repo myreponame]
gitweb = yes

owner description.

gitosis , - .

+3

"git instaweb 403 Forbidden - ", $projectroot /etc/gitweb.conf?

0

gitweb = yes gitosis.conf ?

0

I recently created a blog post about getting gitosis and gitweb to play well together because I had the same problem and wanted to let others know how to make it work. Take a look and read it, and you should finish the setup, which just works. And if you have questions, feel free to ask.

I hope this helps.

0
source

All Articles