Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #81867
| From | jayjwa <jayjwa@atr2.ath.cx.invalid> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: Apache configuration question - MPM modules |
| Date | 2026-02-08 16:27 -0500 |
| Organization | atr2net 2026 |
| Message-ID | <87sebb0vu5.fsf@atr2.ath.cx> (permalink) |
| References | <slrn10ofb8d.3cerc.lars@cleo.beagle-ears.com> |
Lars Poulsen <lars@beagle-ears.com> writes:
> I vaguely remember a long time ago having to select among 2 or 3
> different MPM modules, using configuration statements in httpd.conf,
> but looking at the httpd.conf file that I carried over from the old
> system, I do not see any such statements.
"Prefork" was the older one. You select them in the configs, wherever
they live, like so:
LoadModule mpm_event_module lib64/httpd/modules/mod_mpm_event.so
#LoadModule mpm_prefork_module lib64/httpd/modules/mod_mpm_prefork.so
#LoadModule mpm_worker_module lib64/httpd/modules/mod_mpm_worker.so
Check in /etc/{apache,httpd,apache2} and likewise. 'locate
mod_mpm_event.so' will likely show you where the modules live. Slackware
is very close to upstream, so on my system they live in
/usr/lib64/httpd/modules/
Your distro probably does this differently. On Slackware, most of the
action happens in httpd.conf .
You also have to enable the http2 module, which might be a different
package all together. I'm assuming you want HTTP2.
LoadModule http2_module lib64/httpd/modules/mod_http2.so
<IfModule http2_module>
Protocols h2 h2c http/1.1
</IfModule>
--
PGP Key ID: 781C A3E2 C6ED 70A6 B356 7AF5 B510 542E D460 5CAE
"The Internet should always be the Wild West!"
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Find similar
Apache configuration question - MPM modules Lars Poulsen <lars@beagle-ears.com> - 2026-02-07 21:22 +0000
Re: Apache configuration question - MPM modules Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-02-07 21:59 +0000
Re: Apache configuration question - MPM modules Lars Poulsen <lars@beagle-ears.com> - 2026-02-08 14:03 +0000
Re: Apache configuration question - MPM modules Lars Poulsen <lars@beagle-ears.com> - 2026-02-08 14:16 +0000
Re: Apache configuration question - MPM modules jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-02-08 16:27 -0500
csiph-web