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?

CGI and FastCGI are different things.

CGI is an old school technique that forks a process to the configured script per request.
FastCGI doesn't call scripts or fork processes, it communicates with a persistent process over the FastCGI protocol.
That other process is basically a FastCGI Server.

Jetty used to have a CGI Servlet, but it's been removed as result of CVE-2023-36479.

I don't think `git-http-backend` has a FastCGI option.
You'd likely have to use a tool like `fcgiwrap` to make `git-http-backend` available via FastCGI.

- Joakim

On Fri, Jul 10, 2026 at 9:56 AM Julien via jetty-users <jetty-users@xxxxxxxxxxx> wrote:

Hello


I would like to use Git with Smart HTTP with Jetty instead of Apache HTTPD. I know that Jetty supports CGI thanks to FastCGI, I know how to activate the module, I saw the example for Wordpress in the documentation, but I have no idea about how to make it work with the CGI script git-http-backend. Is it doable with Jetty?

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-users

Back to the top