https://issues.apache.org/bugzilla/show_bug.cgi?id=57379
Bug ID: 57379
Summary: [patch] Makefile.in with mpm-shared, cgi and cgid add
<IfModule ...>
Product: Apache httpd-2
Version: 2.4-HEAD
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: Build
Assignee: [email protected]
Reporter: [email protected]
Created attachment 32313
--> https://issues.apache.org/bugzilla/attachment.cgi?id=32313&action=edit
[patch] Makefile.in
If apache 2.4 is build as package with "--enable-mpms-shared=all" and with cgi
and cgid the user has to choose if cgi or cgid should be used in httpd.conf.
The patch wraps a <IfModule ...> line around the "LoadModule cgi(d)_module"
line so in case both modules are enabled the resulting httpd.conf looks like
this.
This works also in case MPM compiled into httpd or only one or none cgi module
was chosen.
The patch should work for all *NIX platforms.
...
#LoadModule info_module libexec/apache24/mod_info.so
<IfModule !mpm_prefork_module>
#LoadModule cgid_module libexec/apache24/mod_cgid.so
</IfModule>
<IfModule mpm_prefork_module>
#LoadModule cgi_module libexec/apache24/mod_cgi.so
</IfModule>
#LoadModule dav_fs_module libexec/apache24/mod_dav_fs.so
...
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]