Saturday, 12 May 2007

config.nice

As I sit in the shade of my garage, watching the kids play in the plastic pool, I compile Apache 2.2.4 for some local development.

Apache 2.2.4 is the latest version of the dominant httpd server.

For your own inner geek, my config.nice, sporting SSL and AJP (for built-in Tomcat backend support):

#! /bin/sh
#
# Created by configure

"./configure" \
"--prefix=/usr/local/httpd-2.2.4" \
"--with-ssl=/usr/include/openssl" \
"--with-mpm=worker" \
"--enable-mods-shared=all" \
"--enable-proxy=shared" \
"--enable-proxy-http=shared" \
"--enable-proxy-ajp=shared" \
"--enable-proxy-balancer=shared" \
"--enable-ssl=shared" \
"$@"

Oh, the worker MPM is intentional, I have no need to think about PHP support, or said another way, no need for the outdated prefork MPM.

Update

It works!

joe@mars [/Library/StartupItems] % curl -I localhost
HTTP/1.1 200 OK
Date: Sat, 12 May 2007 23:25:20 GMT
Server: Apache/2.2.4 (Unix) mod_ssl/2.2.4 OpenSSL/0.9.7l DAV/2
Last-Modified: Sat, 20 Nov 2004 20:16:24 GMT
ETag: "471298-2c-4c23b600"
Accept-Ranges: bytes
Content-Length: 44
Content-Type: text/html
Posted by caffeinated at 2:53 PM in nerdery

 

[Trackback URL for this entry]

Your comment:

(not displayed)
 
 
 

Live Comment Preview: