Graziano Aliberti writes:

> Hi everyone,
>
> I've installed a local gitorious instance without problems except that I
> can't clone over https and over git.
>
> When I write :
>
> git clone git://gitorious.eng.it/example/example.git example
>
> I receive
>
> Cloning into 'example'...
> fatal: protocol error: expected sha/ref, got '
> ----------------------------------------------
> Unable to access repository /example/example.git
> ----------------------------------------------'

Graziano,
Looks like you need to set up either mod_xsendfile (Apache) or
X-Accel-Redirect (Nginx) to have your frontend web server deliver the
Git objects over HTTP for you.

There's some information about this on the wiki (this assumes you're
using Apache):

  https://gitorious.org/gitorious/pages/GitoriousComponents#HTTP+cloning++[2]

If you're using Nxinx, this paragraph on the getgitorious.com site:
http://getgitorious.com/documentation/gitorious-org-setup.html#sec-1-2-2[3]
explains how to set that up.

Cheers,
- Marius

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to