[EMAIL PROTECTED] wrote:
> If I follow the standard installation of mod_ssl
>
> ../configure \
> --with-apache=../apache_1.3.20 \
> --with-ssl=../openssl-0.9.6a \
> --prefix=/usr/local/apache
>
> Will this just add the mod_ssl to apache along with whatever else I have
> already compiled in (http_core.c,mod_so.c, mod_perl.c) to may apache server
> or will it remove the mod_so and mod_perl and just add mod_ssl ?
If you follow this, you will get the apache core plus mod_ssl - only. If
you want extra modules you have to ask for them, i.e. add lines like:
--enable-module=rewrite \
--enable-module=usertrack \ etc.
However... If you want mod_perl, things are a little different. mod_perl
doesn't come with the standard apache tarball, you have to install it
separately. See below...
> Also, during the config script do I actually put ../apache_1.3.20 or the
> path to this dir (same --with-ssl=../openssl-0.9.6a do I just put
> ../openssl-0.9.6a or path to openssl-0.9.6a)?
These paths are so the compiler can find the other sources and libraries
during compilation. So they can be relative (../openssl) or absolute
(/usr/local/openssl) as you wish. Personally, I prefer relative paths.
In any case, the path should lead to the required directory from the
directory in which you run ./configure.
> and should --prefix be the path to my apache source code
> /usr/local/apache_1.3.20 or to the root dir /usr/local/apache?
This is where "make install" will install apache. Usually, this will be
something like /usr/local/apache. This way, when you upgrade to
apache_1.3.21 (or whatever), it will overwrite the old version and
/usr/local/apache will always contain the most up-to-date version.
Here's a copy of my records of installing apache_1.3.17 with mod_ssl and
mod_perl. Note that I went for a statically linked compliation (i.e.
*not* using mod_so) - you hinted that you might prefer dynamic linking.
Anyway, hopefully it will help you.
Rgds,
Owen Boyle.
----------
# cd /home/apache
# gzip -d -c /home/tar_files/openssl-0.9.6.tar.gz | tar xvf -
# gzip -d -c /home/tar_files/apache_1.3.17.tar.gz | tar xvf -
# gzip -d -c /home/tar_files/mod_ssl-2.8.0-1.3.17.tar.gz | tar xvf -
# gzip -d -c /home/tar_files/mod_perl-1.24_01.tar.gz | tar xvf -
# pwd
/home/apache
# ls
openssl-0.9.6
apache_1.3.17
mod_ssl-2.8.0-1.3.17
mod_perl-1.24_01
...etc.
/* go to openssl-0.9.6 and configure it */
# cd openssl-0.9.6
# ./Configure --prefix=/home/apache
# make clean
# make
/* Switch to the mod_ssl directory and configure it */
# cd ../mod_ssl-2.8.0-1.3.17
# ./configure --with-apache=../apache_1.3.17 \
? --with-ssl=../openssl-0.9.6 \
? --prefix=/home/apache
/* Go to mod_perl - this does the apache compile as well */
# cd ../mod_perl-1.24_01
# perl Makefile.PL USE_APACI=1 EVERYTHING=1 DO_HTTPD=1 \
? SSL_BASE=../openssl-0.9.6 PREFIX=/home/apache \
? APACHE_SRC=../apache_1.3.17/src \
?
APACI_ARGS='--enable-module=ssl,--enable-module=rewrite,--enable-module=usertrack'
# make
# make test
# make install
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]