Re: gitweb doesn't work with bare repositories
- From
- Evgeniy Ivanov <lolkaantimat@gmail.com>
- Date
- Nov 30, 2008, 14:52 UTC
- Message-ID
- <4932A8BE.9080302@gmail.com>
- In-Reply-To
- <4931D23A.10402@gmail.com>
Thanks to everybody for answers. I'm not subscribed and saw them in the list archive. All things you have noticed are typos, sure I typed commands correctly. The problem was caused by "$feature{'pathinfo'}{'default'} = [1];" in the config. So the problem is solved now. Good luck :)
Evgeniy Ivanov wrote:
Show 25 quoted lines
> Hi, > I have installed gitweb and can't make it work with bare repos. > I have such config: > $my_uri = "http://mysite.org:8000"; > $projectroot = "/srv/www/gamekeeper/htdocs/projects"; > > In projects I have created bare repo: > mkdir some > cd some.git > git --bare init > cd /some_git_repo > git push /srv/www/gamekeeper/htdocs/projects master > > Everything fine, but when I click the link on some.git I don't have a > page (just "Error 404"). > > But if I clone /some_git_repo with some in the projects, I have a link > "some/.git" and it works fine. > > Permissions are ok, virtual host is ok since I get main page and have > access to cloned repo. > > What can be wrong? > >
-- Cheers, Evgeniy. Key fingerprint: F316 B5A1 F6D2 054F CD18 B74A 9540 0ABB 1FE5 67A3