Hi Guys

I'm trying to set-up Gitorious in a sub-folder using RailsBaseURI /git as 
per this document:

http://olezfdtd.wordpress.com/2010/04/22/install-gitorious-on-your-own-fedora-11-server/#section12

I'm having problems running the Gitorious client script, getting the error 
"Access denied or wrong repository path":

$ git clone git@server:test/test.git
> Cloning into test...
> Querying git/test/test/config
> Querying localhost:81
> #<Net::HTTPBadRequest:0xd0f6f88>
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>400 Bad Request</title>
> </head><body>
> <h1>Bad Request</h1>
> <p>Your browser sent a request that this server could not understand.<br />
> </p>
> </body></html>
>
> == Gitorious: ==========================================================
> Access denied or wrong repository path
> ========================================================================
>
> fatal: The remote end hung up unexpectedly
>

I've added some additional logging. In my gitorious log files I'm getting:

I, [2011-11-24 11:04:40#13506]  INFO -- : Access denied or bad repository 
> path for "admin": "git-upload-pack 'test/test.git'"
>

While in my Apache error log I'm getting:

[Thu Nov 24 11:04:40 2011] [error] [client 127.0.0.1] Invalid URI in 
> request GET git/test/test/config HTTP/1.1
>

I should have permission, because when I put the following into my browser:

https://server/git/test/test/writable_by?username=admin
>

I get "true". 

I know you guys don't support sub-folders, but if you could give me some 
pointers as to why this isn't working I would be really grateful.

TIA...

-- Ricardo Gladwell

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

Reply via email to