On 15. juni. 2009, at 14.26, Martin Pettersson wrote: > Thanks > Sorry I should have mentioned that I did read the > http://groups.google.com/group/gitorious/browse_thread/thread/a77ae4c391a5c61c/1e5b56d1fa613ab6 > and I did install the x-sendfile module on Apache2
Sorry for assuming you didn't :-) > Is there anything I shall do than to load the module to Apache? You'll need to use git.<example.com> - where example.com is whatever host you're running Gitorious on - in order for these requests to be picked up. If you're running Gitorious on localhost, this would mean adding another host to your hosts file or equivalent: 127.0.0.1 git.localhost (personally, I use gitorious.local when running locally and git.gitorious.local when cloning over HTTP). Once all this is done, you should use http://git.localhost:3000/project/repo.git for cloning over HTTP. Once you've done this, it should work. Try going to the repository page and find the HTTP cloning link from that page. If it doesn't work, try entering the link, followed by "/info/refs" in your browser: http://git.localhost:3000/project/repo.git/info/refs (NB: The port number should be Apache/Nginx' port number, you won't be able to get this to work directly to Mongrel/thin/Webrick) This should give you a plain text file. If it doesn't, use a tool that displays the response headers returned from the server and see if the X-Sendfile-headers are delivered to your browser, which means your web server isn't picking these up. Let me know if you still have problems! Regards, - Marius --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Gitorious" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/gitorious?hl=en -~----------~----~----~----~------~----~------~--~---
