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

[RFH/PATCH 0/4] git http tests with apache 2.4

From
Jeff King <peff@peff.net>
Date
Jun 9, 2013, 08:07 UTC
Message-ID
<20130609080722.GA31699@sigill.intra.peff.net>

Apache 2.4 recently shipped in Debian unstable, and I noticed that all of the git httpd tests stopped working. It turns out that some configuration directives have changed between 2.2 and 2.4, and the httpd server would not start at all.

With this series, the tests run again (for me, at least). The "<IfVersion>" checks hopefully mean that there are no regressions for people running 2.2 and lower.

However, the final patch is very unsatisfactory. We have to pick an MPM module to mention in the config, but we don't have any idea what's available. I suspect what I have provided will work on most Unix-ish systems. Under Windows, there is a totally different MPM. But I am not sure that our http tests run at all on Windows, as we seem to check in lib-httpd.sh for a Unix-ish apache module path.

As far as I know, Apache does not have a "try to load this module and fallback" directive. We could perhaps look in the module directory and try to do something clever in the shell before starting Apache. Advice from Apache gurus is welcome.

  [1/4]: t/lib-httpd/apache.conf: do not use LockFile in apache >= 2.4
  [2/4]: t/lib-httpd/apache.conf: load extra auth modules in apache 2.4
  [3/4]: t/lib-httpd/apache.conf: load compat access module in apache 2.4
  [4/4]: t/lib-httpd/apache.conf: configure an MPM module for apache 2.4
-Peff
Next: Jeff King
Message 1 of 7 in “git http tests with apache 2.4”
  1. 0/4 git http tests with apache 2.4Jeff King, Jun 9, 2013
  2. 1/4 t/lib-httpd/apache.conf: do not use LockFile in apache >= 2.4Jeff King, Jun 9, 2013
  3. 2/4 t/lib-httpd/apache.conf: load extra auth modules in apache 2.4Jeff King, Jun 9, 2013
  4. 3/4 t/lib-httpd/apache.conf: load compat access module in apache 2.4Jeff King, Jun 9, 2013
  5. 4/4 t/lib-httpd/apache.conf: configure an MPM module for apache 2.4Jeff King, Jun 9, 2013
  6. Junio C HamanoJun 14, 2013
  7. Jeff KingJun 14, 2013

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.