#!/bin/bash # These have to be set as environment variables to be recognized by mod_perl. export APACHE_USER=apache export APACHE_GROUP=apache # For some reason, all this has to be on one line, otherwise some options are ignored. perl Makefile.PL APACHE_SRC=../apache_1.3.29/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 APACI_ARGS='--prefix=/usr/local/apache --enable-module=unique_id --enable-module=rewrite --enable-module=speling --enable-module=expires --enable-module=info --enable-module=log_agent --enable-module=log_referer --enable-module=so --activate-module=src/modules/fastcgi/libfastcgi.a'