I'm attempting to set up a publicly-accessible git repository that can be cloned via HTTP on a server that I physically own and have root access to, but it seems like I'm missing something. I'm new to git so I can't troubleshoot very well, but here's what I know:
- I'm able to clone the git repository with
git clone ssh://git@repo.alaskawh.com/awhsome-framework
just fine git clone http://repo.alaskawh.com/framework
fails withfatal: repository 'http://repo.alaskawh.com/framework/' not found
- http://repo.alaskawh.com/framework/ lists the file in the git repository just fine when I visit it in a web browser
/var/lib/gitolite/repositories/awhsome-framework.git
is a symlink to /var/www/repo.alaskawh.com/framework/
, I've created the file hooks/post-update
which contains the line exec git update-server-info
, and I've ensured that user permissions are correct.
Does anybody know what I'm doing wrong?