#httpd-2.0.40.tar.gz mod_perl-2.0-current.tar.g # openssl-0.9.6e-1-src.tar # Make sure you install openssl at /usr /usr/local/apache2/Stop rm -rf /usr/local/apache2 mkdir -p /usr/local/apache2 export HOME=/usr/local/src/NEW export DEST=/usr/local/apache2 cd $HOME rm -rf httpd-2.0.40 rm -rf mod_perl-1.99_05 tar -zxf SRC/httpd-2.0.40.tar.gz tar -zxf SRC/mod_perl-2.0-current.tar.gz rm -rf $DEST mkdir -p $DEST chown mark $DEST cd httpd-2.0.40 ./configure --prefix=$DEST --enable-modules="access actions alias asis auth auth_anon autoindex cern_meta cgi dav deflate dir env expires ext_filter headers imap include info log_config mime mime_magic negotiation rewrite setenvif so speling ssl status unique_id userdir usertrack proxy" make make install chown -R mark $DEST cd ../mod_perl-1.99_05 perl Makefile.PL MP_AP_PREFIX=$DEST MP_INST_APACHE2=1 make cd .. rsync -a LOCAL/Apache2/conf/* $DEST/conf rm -rf $DEST/htdocs/* rsync -a LOCAL/Apache2/htdocs/* $DEST/htdocs/ cp LOCAL/Apache2/St* $DEST/ chmod 755 $DEST/St*