Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] How to use Jetty as a Git server with the Smart HTTP protocol?

Hi,

On Mon, Jul 13, 2026 at 9:32 PM Julien <gouessej@xxxxxxxxx> wrote:
>
> Hello
>
>
> Thank you very much, it's clearer now. I initially thought that I wouldn't have to extend FastCGIProxyHandler.
>
>
> This is the kind of URL I use now with Sourceforge (read-only and read-write accesses):
>
> https://git.code.sf.net/p/tuer/git/tuer/
>
> https://gouessej@xxxxxxxxxxxxxxx/p/tuer/git/tuer/
>
>
> I'd prefer not having to include /usr/lib/git-core/git-http-backend in the URLs. Maybe hardcoding the value in the class that will extend FastCGIProxyHandler will help.

You don't have to: the "root" is a FastCGIProxyHandler constructor
parameter, so don't hard code it, just pass it in from some
configuration file as explained in:
https://jetty.org/docs/jetty/12.1/operations-guide/protocols/index.html#fcgi

-- 
Simone Bordet
----
https://webtide.com
https://cometd.org
Developer advice, training, services and support
from the Jetty & CometD experts.


Back to the top