0

I'm trying to setup GitWeb, I'm using the GitWeb shipped with the Git installation and using the Apache provided with WAMP, when I access to the page http://localhost/gitweb/ I get a 404 - No projects found error, I modified the variable projectroot on the gitweb.cgi file but according to some post this file shouldn't be edited and I need to modify the same variable but now on the file gitweb.conf and I can find this file, I tried with

gitweb.conf
gitweb-common.conf
gitweb_config.perl

I don't have any of those files, any ideas? BTW I'm working on Windows

I modified the next variables on gitweb.cgi

our $GIT = "C:/Git190/bin/git";
our $projectroot = "C:/git/testRepository/.git";
CIOC
  • 1,385
  • 3
  • 19
  • 48

1 Answers1

0

I found the error, I just modified the gitweb.cgi and the problem was with the path of the $projectroot variable, I had it like this:

our $projectroot = "C:/git/testRepository/.git";

but I need to set the value like this:

our $projectroot = "/c/git/testRepository";

I have no idea why, but it's working now :)

CIOC
  • 1,385
  • 3
  • 19
  • 48