Re: [gitorious] Re: Gitorious and HTTP Cloning

2010-12-03 Thread Marius Mårnes Mathiesen
On Thu, Dec 2, 2010 at 3:18 PM, Javier Moro Sotelo m...@javiermoro.eswrote: Now cloning works well (after adding user www-data to git group), I get this new error when pushing into the remote repository, in fact, I get this message on the console: Ah, that explains it, the HTTP support in

[gitorious] Re: Gitorious and HTTP Cloning

2010-12-02 Thread Javier Moro Sotelo
This is xsendfile's way of telling you it's being told to serve a directory. What I don't understand is what caused this request to be made - did you enter the URL in a browser or using wget/curl? AFAIK, the first URI Git will request over HTTP is $GIT_DIR/info/refs - I don't think Git itself

[gitorious] Re: Gitorious and HTTP Cloning

2010-12-02 Thread Javier Moro Sotelo
I've tried to analyze some packages with wireshark (to see what happens on the client when I try to push into the repository) and at some point, I get a package with a 404 error saying: --- The requested URL /test/test.git/ was not found on this server. --- I'm starting to think that the

RE: [gitorious] Re: Gitorious and HTTP Cloning

2010-12-02 Thread Peter Kjellerstedt
-Original Message- From: gitorious@googlegroups.com [mailto:gitori...@googlegroups.com] On Behalf Of Javier Moro Sotelo Sent: den 2 december 2010 15:18 To: Gitorious Subject: [gitorious] Re: Gitorious and HTTP Cloning This is xsendfile's way of telling you it's being told

[gitorious] Re: Gitorious and HTTP Cloning

2010-12-01 Thread Javier Moro Sotelo
You should probaby configure mod_xsendfile to allow serving files outside of the document root. Already did that... anyway, i solved the initial problem, it seemed that www-data was not in the same group as the repositories owner (git), so adding www-data to git group solved the issue. The

Re: [gitorious] Re: Gitorious and HTTP Cloning

2010-12-01 Thread Marius Mårnes Mathiesen
On Thu, Dec 2, 2010 at 12:29 AM, Javier Moro Sotelo m...@javiermoro.eswrote: (20024)The given path is misformatted or contained invalid characters: xsendfile: not a file /srv/git/repositories/ ae9/461/59afa694588810320aaa366622ab9ee4ab.git/ This is xsendfile's way of telling you it's being