From 73f6528c2b627ba3684fcfe17c003ded21b953ab Mon Sep 17 00:00:00 2001 From: Paul Querna Date: Tue, 8 Mar 2005 22:06:59 +0000 Subject: [PATCH] Since prefork is currently the only non-threaded MPM, check for it, instead of testing for each threaded MPM type. This enables mod_cgid on the Event MPM by default, which is a "Good Thing"(tm). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156572 13f79535-47bb-0310-9956-ffa450edef68 --- modules/generators/config5.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/generators/config5.m4 b/modules/generators/config5.m4 index f88ce33bff..c0a300f022 100644 --- a/modules/generators/config5.m4 +++ b/modules/generators/config5.m4 @@ -11,7 +11,7 @@ APACHE_MODULE(info, server information, , , most) APACHE_MODULE(suexec, set uid and gid for spawned processes, , , no, [ other_targets=suexec ] ) -if test "$apache_cv_mpm" = "worker" -o "$apache_cv_mpm" = "perchild"; then +if test "$apache_cv_mpm" != "prefork"; then # if we are using a threaded MPM, we will get better performance with # mod_cgid, so make it the default. APACHE_MODULE(cgid, CGI scripts, , , yes) -- 2.50.1