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

Re: [PATCH 3/3] git-instaweb: Don't assume Apache executable is named apache2

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 30, 2010, 16:03 UTC
Message-ID
<7v39w48q4a.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1277865900-25044-3-git-send-email-dpmcgee@gmail.com>
Dan McGee <dpmcgee@gmail.com> writes:
> On Arch Linux, we keep the original 'httpd' name for the exectuable and
> don't rename it or the path to the modules.
Sorry, but I cannot parse the last 6 words here.
Show 8 quoted lines
> Remove some of these assumptions
> and add the httpd name in where it may be required.
> ...
>  resolve_full_httpd () {
>  	case "$httpd" in
> -	*apache2*|*lighttpd*)
> +	*apache2*|*lighttpd*|*httpd*)
> +		# yes, *httpd* covers *lighttpd* above, but it is there for clarity

That may make things work better on Arch but I wonder if there are platforms that allow users to point at their favorite, non-Apache, http server with a canonical name "httpd" that gets broken by this change. Am I being too paranoid?

Other two patches looked very sane.  Thanks.
Previous: Dan McGeeNext: Dan McGee
Message 6 of 12 in “git-instaweb: Fix custom apache log placement”
  1. 1/3 git-instaweb: Fix custom apache log placementDan McGee, Jun 30, 2010
  2. 2/3 git-instaweb: Fix Apache environment variable passingDan McGee, Jun 30, 2010
  3. 3/3 git-instaweb: Don't assume Apache executable is named apache2Dan McGee, Jun 30, 2010
  4. Eric WongJun 30, 2010
  5. 3/3 git-instaweb: Don't assume Apache executable is named apache2Dan McGee, Jun 30, 2010
  6. Junio C HamanoJun 30, 2010
  7. Dan McGeeJul 22, 2010
  8. Eric WongJul 22, 2010
  9. Dan McGeeJul 23, 2010
  10. Junio C HamanoJul 23, 2010
  11. Dan McGeeJun 30, 2010
  12. Eric WongJul 23, 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.