Brad Nicholes on Apache 2.2 Configuration


I'm in Brad Nicholes' session on configuring Apache 2.2.

First up he starts talking about MPM (multi-processor modules). MPMs control the multi-processing that happens on in Apache (servers and threads). If you install Apache, the default is the pre-fork MPM that doesn't include threads. You have to install the Worker MPM to get threads. the pre-fork MPM is more stable, but slower. The Worker MPM won't play well with mod_perl and other modules that aren't thread friendly.

Brad recommends using include files to modularize configuration. I've never done this (habit) preferring to have everything in one place so I don't have to go out and look in multiple files. Still I can see the wisdom in this. Sometimes the configuration file can get pretty hairy.

Huh, I didn't know you could use ServerAlias (with or without wildcards) to create aliases for a host. That will save me a few lines in my configuration file!

LDAP authentication looks relatively easy to set up. This would be good to use on my server at BYU since we have an LDAP server anyway for the lab. I've never bothered to figure it out. Brad makes it look easy enough to try.


Please leave comments using the Hypothes.is sidebar.

Last modified: Thu Oct 10 12:47:19 2019.