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

Re: [PATCH] git-instaweb: fix lighttpd configuration on cygwin

From
Pascal Obry <pascal@obry.net>
Date
Mar 10, 2009, 17:34 UTC
Message-ID
<49B6A4AA.7050301@obry.net>
In-Reply-To
<49B5609B.5070705@ramsay1.demon.co.uk>
Ramsay Jones a écrit :
Show 20 quoted lines
> Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
> ---
> 
> A recent email from Pascal reminded me that I had this patch
> kicking around. I haven't tested this on Linux, since I don't
> have lighttpd installed there (I already have Apache), but I
> don't expect any problems; famous last words!
> 
> The essence of the change is the addition of the "mod_setenv"
> module, along with the PATH environment variable assignment.
> (otherwise gitweb can't find a shell and, therefore, can't
> execute any git programs)
> 
> Also, I had to add a default mime-type assignment of text/plain
> ("" => "text/plain").  If my memory serves me, the other additions
> to the mime-type mapping was just cosmetic; and why not?
> 
> Hmmm, I just noticed that the first hunk, which is needed to
> suppress a "lighttpd: not found" error message, could perhaps be
> seen as an un-related fix. Dunno.
Tested on my side using Cygwin 1.5.25 and httpd. Working fine. Thanks.
  Tested-by: Pascal Obry <pascal@obry.net>
or
  Signed-off-by: Pascal Obry <pascal@obry.net>
Not sure as I have never seen Tested-by!
Pascal.
-- 
--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|    http://www.obry.net  -  http://v2p.fr.eu.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B
Previous: Ramsay Jones
Message 2 of 2 in “git-instaweb: fix lighttpd configuration on cygwin”
  1. git-instaweb: fix lighttpd configuration on cygwinRamsay Jones, Mar 9, 2009
  2. Pascal ObryMar 10, 2009

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.