git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: FastCGI support in gitweb

From
Sam Vilain <sam@vilain.net>
Date
Mar 3, 2008, 12:28 UTC
Message-ID
<47CBEED2.30808@vilain.net>
In-Reply-To
<m38x12jeqt.fsf@localhost.localdomain>
Jakub Narebski wrote:
Show 14 quoted lines
> First, as far as I understand it, the patch made gitweb had to be used
> with FastCGI server.  It has no comments in code, and if I remember
> correctly the commit message was also fairly nonexistent.  It mixes
> FastCGI changes with site-wide changes.  It wrapped the whole file in
> "until last request" loop instead of wrapping dispatch only.
> 
> Also I am not sure if gitweb doesn't rely on variables being correctly
> set which they are not in FastCGI mode.
> 
> But most important part: it was never resend (IIRC it was send when
> gitweb development was in separate repository)
> 
> 
> I have attached the FastCGI patch and CC-ed the author.

Thanks. I didn't submit this because I couldn't fix the bugs in it. Glad you found it. I had to make many changes in a similar vein with a current gitweb version; did it work for you in its current form?

You can get it to run externally using FCGI_SOCKET=:3000 (eg, to listen on FastCGI TCP port 3000)

Sam.
Previous: Jakub NarebskiNext: Jakub Narebski
Message 3 of 8 in “FastCGI support in gitweb”
  1. Juan Jose ComellasMar 1, 2008
  2. Jakub NarebskiMar 1, 2008
  3. Sam VilainMar 3, 2008
  4. Jakub NarebskiMar 4, 2008
  5. John GoerzenMar 4, 2008
  6. Jakub NarebskiMar 4, 2008
  7. John GoerzenMar 4, 2008
  8. Jakub NarebskiMar 4, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.