I am attempting to create an authoritative repository on one of my
Rackspace servers. I have already created the bare repositories and moved
them to the directory /home/git on Rackspace. I have a user named GIT (and
hence a group of the same name) and have created other users in my team and
assigned them to this group called "GIT". Moved two bare repositories on to
the Rackspace server using SSH. (Had some teething issues wrt to
permissions that I resolved, see my previous post).
I'm attempting to configure gitweb so that I can access my git web
interface from git.mycompanyname.net. I run several hosts on apache so my
Vhost configuration for GIT is as follows
Options ExecCGI +FollowSymLinks +SymLinksIfOwnerMatch
Allow from all
AddHandler cgi-script cgi
I then changed the project directory in /etc/gitweb.conf
$projectroot = "/home/git/";
When I restart the apache server and visit git.mycompanyname.net
I get a *404 - No projects found *page
So I checked the ~/conf.d/gitweb configuration and made changes as
suggested by some posts on the web and at present it looks like this
#RewriteRule ^/gitweb/([a-zA-Z0-9_-]+.git)/?(?.*)?$ /cgi-bin/gitweb.cgi/$1
RewriteRule ^[a-zA-Z0-9_\-]+\.git/?(\?.*)?$ /gitweb/$1 [L,PT]
Alias /gitweb /home/git
Options Indexes FollowSymLinks ExecCGI
AddHandler cgi-script .cgi
But still I have had no luck in gitweb displaying any of my repositories.
Any help would be appreciated.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To view this discussion on the web visit
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at