Well, that puts me in a bit of a pickle. I'm not using Apache-- I'm using Cherokee. Now, Cherokee supports X-Sendfile, but not when acting as a reverse proxy configuration (Gitorious is running on Webrick, and requests to the virtual server get forwarded to the port it's running on).
It is, however, trivial to have Cherokee use FastCGI. Is there a way to get Gitorious working on FastCGI instead of Webrick? On Mar 30, 2012 7:53 AM, "Marius Mårnes Mathiesen" < [email protected]> wrote: > Kelketek, > Sounds like a X-Sendfile issue to me, the wiki has some info on setting > that up: https://gitorious.org/gitorious/pages/GitoriousComponents > > Cheers, > - Marius > > On Sat, Mar 10, 2012 at 5:12 AM, Kelketek <[email protected]> wrote: > >> Hello there! >> >> I use Gitorious for a few projects now and I really like it. But I have >> never been able to get tarballing to work. I haven't ever gotten http >> cloning to work either. >> >> I know that Gitorious is sending the command to do the tarballing, strace >> shows me that: >> >> [pid 29187] write(16, >> "{\"output_path\":\"/var/git/tarballs/97h84rcnp4iun49597-5.tar.gz\",\"commit_sha\":\"4kcn499c4r9un\",\"work_path\":\"/var/git/tarballs-work/4rfidn44p948orj4rocn4.tar.gz\",\"format\":\"tar.gz\",\"full_repository_path\":\"/var/git/repositories/b97/4ricun4rcorci4urcn47.git\",\"name\":\"mustar-mustar\"}", >> 445) = 445 >> >> But no tarball ever shows up. Note, I mangled the above paths, since >> those random numbers might exist for some degree of security, for all I >> know, so the bits with random numbers/letters really have other random >> numbers/letters. >> >> It doesn't seem to ever pick up the task and do it. It can pull in SSH >> keys just fine, and set them up, and create repos without issue. But this >> eludes it, and I'm having a hard time figuring out where to look to fix it. >> I know some things have been said about X-Sendfile, but I don't think that >> has to do with it, since the file has to exist before it can be sent, and I >> don't see the tarball anywhere. >> >> As for HTTP cloning, that's less pressing, but it would be nice to have. >> I know that it seems to want to prepend the git. subdomain on my domain, >> which I prefer it not do, and it doesn't work even with the git prefix. In >> fact it seems to send me right back to my normal domain. >> >> Any ideas would be appreciated. Thanks in advance! >> >> -- >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> > > > > -- > Marius Mårnes Mathiesen > Rubyist, Shortcut AS > Tel.: (+47) 92 60 95 38. > > http://shortcut.no > > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
