Building Apache with many modules > Configuration of modules
Previous Page Contents Next Page
OOP-Reserch home page

Mail to Me

Configuration of modules

Any questions and comments are welcome to me.

#!/bin/sh

echo "Cleaning Apache source..."
cd apache_1.3.12
make distclean
cd ..
echo "Done!"

# NOTE
# RSAref library is required only for US citizen.
#echo "RSAref library..."
#cd rsaref-2.0
#make distclean
#cp -rp install/unix local
#cd local
#make
#mv rsaref.a librsaref.a
#cd ../..
#echo "Done!"

echo "Building openSSL..."
cd openssl-0.9.5
make distclean
# Note that -fPIC option may be required for DSO
./config \
	    -fPIC \
	    --prefix=/usr/local \
	    --openssldir=/opt/local/openssl
make
make test
cd ..
echo "Done!"

echo "Applying the mod_ssl pache to Apache source"
echo "and configureing mod_ssl..."
cd mod_ssl-2.6.2-1.3.12
make distclean
# Note that --with-ssl option must point to the source path
# of openssl, not the installation path.
./configure \
              --with-apache=../apache_1.3.12 \
	      --with-ssl=../openssl-0.9.5
# I have to generate the certificate and the private key
# by issuing 'make certificate' after compilinng Apache.
# The following options are valid only if I already have them.
#              --with-crt=/usr/local/apache/conf/ssl.crt \
#              --with-key=/usr/local/apache/conf/ssl.key
cd ..
echo "Done!"

# It is desirable to apply the patch of mod_frontpage
# after the source tree of Apache touched by other
# modules.
# Applying the patch also installs the source files
# of mod_frontpage in src/modules/frontpage directory.
# Because the source tree of mod_frontpage resides in
# the sub directory of src/modules, mode_frontpage must
# be complied with Apache by --activate-module option.
echo "Applying the patch to Apache"
echo "and installs the source files of mod_frontpage" 
cd apache_1.3.12
patch -p0 < ../mod_frontpage/mod_frontpage-apache_1.3.12-v1.3.1
cd ..
echo "Done!"

echo "Installing mod_perl..."
SSL_BASE=../openssl-0.9.5
export SSL_BASE
cd mod_perl-1.22
make distclean
perl Makefile.PL \
     APACHE_SRC=../apache_1.3.12 \
     NO_HTTPD=1 \
     PREP_HTTPD=1 \
     USE_APACI=1 \
     EVERYTHING=1
make 
make install
cd ..
echo "Done!"

Java and all Java-based trademarks and logos are trademarks or registered of Sun Microsystems, Inc. in the United States and other countries.


Previous Page Contents Next Page
OOP-Reserch home page

Mail to Me


ALL CONTENTS COPYRIGHT 2000 , Jun Inamori. All rights reserved.
Any questions and comments are welcome to Jun Inamori .