« Longtails and Software Keynote | Main | Lamont Peterson on XEN and Virtualization »
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.
Posted by windley on September 7, 2007 11:40 AM



Comment from John at September 7, 2007 12:11 PM
The nice thing about apache+ldap authentication is that other programs can use it to. For instance, we use LDAP (through apache) to do authentication for Subversion and Trac users as well.
Comment from John at September 7, 2007 12:13 PM
Should have been "other programs can use it too."
Oops. :)
Leave a comment
I encourage you to leave a comment below. Your email address will not be displayed on Technometria, but allows me to communicate with you directly. Your email address won't be displayed, but will be used to compute a MicroID for your comment.