Re: [gitorious] Re: Gitorious and HTTP Cloning
On Thu, Dec 2, 2010 at 12:29 AM, Javier Moro Sotelo wrote: > (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 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 should request the bare URI? Cheers, - Marius -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Re: Gitorious and HTTP Cloning
> 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 problem now is different, I'm getting this error. (20024)The given path is misformatted or contained invalid characters: xsendfile: not a file /srv/git/repositories/ ae9/461/59afa694588810320aaa366622ab9ee4ab.git/ Now I'm completely lost... -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Adding this repository as a pushable origin
where to run these commands ? on server /var/git/repositories/ 699/281/8198ac3ed55adc67dead139f496fa53f7f.git or on local repository ? Adding this repository as a pushable origin: git remote add origin g...@192.168.1.41:frontnier/frontnier.git # to push the master branch to the origin remote we added above: git push origin master # after that you can just do: git push -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Gitorious and HTTP Cloning
On Tue, Nov 30, 2010 at 5:26 PM, Javier Moro Sotelo wrote: > I'm using debian squeeze, /srv/git/repositories is owned by git.git, > and I've tried with mod_xsendfile pre and post 0.9... > You should probaby configure mod_xsendfile to allow serving files outside of the document root. In the latest mod_xsendfile version this is achieved with the XSendFilePath, which adds paths to sendfile's "white list" (see https://tn123.org/mod_xsendfile/ for details). In previous versions of mod_xsendfile you would use the XSendFileAllowAbove directive, which allows it to serve *any* path. Cheers, - Marius -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com