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

Re: [PATCH/RFC] gitweb: Run in FastCGI mode if gitweb script has .fcgi extension

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Jun 5, 2010, 21:12 UTC
Message-ID
<AANLkTimrD_JkJdHOn6PfKr0LMaGNn3V9_cHOkdjKVke9@mail.gmail.com>
In-Reply-To
<1275772278-14709-1-git-send-email-jnareb@gmail.com>
On Sat, Jun 5, 2010 at 21:11, Jakub Narebski <jnareb@gmail.com> wrote:
> If the name of the script ($SCRIPT_NAME or $SCRIPT_FILENAME CGI
> environment variable, or __FILE__ literal) ends with '.fcgi'
> extension, run gitweb in FastCGI mode, as if it was run with
> '--fastcgi' / '--fcgi' option.

Looks good to me, it'll make deploying on e.g. Apache a lot easier, and doubtless most other web servers too.

Previous: Jakub NarebskiNext: Jakub Narebski
Message 2 of 4 in “gitweb: Run in FastCGI mode if gitweb script has .fcgi extension”
  1. gitweb: Run in FastCGI mode if gitweb script has .fcgi extensionJakub Narebski, Jun 5, 2010
  2. Ævar Arnfjörð BjarmasonJun 5, 2010
  3. gitweb: Run in FastCGI mode if gitweb script has .fcgi extensionJakub Narebski, Jun 6, 2010
  4. Pavan Kumar SunkaraJun 6, 2010

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.