Apache Recipes

From Dev411: The Code Wiki

There are many options to building the Apache HTTPD webserver. This page keeps track of some combinations that work.

Configuration

Static mod_perl + mod_ssl

This combination works for building Apache 2.0.55 with statically linked mod_perl 2.0.2 and mod_ssl. For some reason setting --enable-ssl=shared borks the build.

 perl Makefile.PL MP_USE_STATIC=1
   MP_AP_PREFIX=/tmp/src/httpd-2.0.55
   MP_AP_CONFIGURE="--prefix=/usr/local/apache2
   --with-mpm=prefork --enable-so --enable-ssl
   --with-ssl=/usr/local/ssl"

This builds on the mod_perl 2.0 install guide (http://perl.apache.org/docs/2.0/user/install/install.html).