You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Allan P. Magmanlac" <Al...@nrns.ca> on 2002/09/24 17:07:55 UTC
mod perl and apache with ssl and openssl
Hello,
Can anyone advise me on how to build
apache server with ssl and openssl and
using mod perl.
this is how I do it WITHOUT mod perl support
cd to modssl soure directory and then run the following command
./configure \
--with-apache=../apache_1.3.26 \
--with-ssl=../openssl-0.9.6g \
--prefix=/usr/local/root/httpd_1.3.26 \
--with-crt=/usr/local/root/httpd/usr/local/www/conf/ssl.crt/server.crt \
--with-key=/usr/local/root/httpd/usr/local/www/conf/ssl.key/server.key \
--enable-module=proxy
So how would I do it WITH mod perl support. (exact commands would
be appreciated)
Thanks
Re: mod perl and apache with ssl and openssl
Posted by Brian Hirt <bh...@mobygames.com>.
here's a simple script i use to build one of my servers, it builds
openssl, and apache with mod_ssl / mod_perl
On Tue, 2002-09-24 at 09:07, Allan P. Magmanlac wrote:
> Hello,
>
> Can anyone advise me on how to build
> apache server with ssl and openssl and
> using mod perl.
>
> this is how I do it WITHOUT mod perl support
> cd to modssl soure directory and then run the following command
> ./configure \
> --with-apache=../apache_1.3.26 \
> --with-ssl=../openssl-0.9.6g \
> --prefix=/usr/local/root/httpd_1.3.26 \
> --with-crt=/usr/local/root/httpd/usr/local/www/conf/ssl.crt/server.crt \
> --with-key=/usr/local/root/httpd/usr/local/www/conf/ssl.key/server.key \
> --enable-module=proxy
>
> So how would I do it WITH mod perl support. (exact commands would
> be appreciated)
>
> Thanks
Re: mod perl and apache with ssl and openssl
Posted by "Mike P. Mikhailov" <mi...@sibtel.ru>.
Hello Allan P. Magmanlac,
Tuesday, September 24, 2002, 9:07:55 PM, you wrote:
APM> Hello,
APM> Can anyone advise me on how to build
APM> apache server with ssl and openssl and
APM> using mod perl.
APM> this is how I do it WITHOUT mod perl support
APM> cd to modssl soure directory and then run the following command
APM> ./configure \
APM> --with-apache=../apache_1.3.26 \
APM> --with-ssl=../openssl-0.9.6g \
APM> --prefix=/usr/local/root/httpd_1.3.26 \
APM> --with-crt=/usr/local/root/httpd/usr/local/www/conf/ssl.crt/server.crt \
APM> --with-key=/usr/local/root/httpd/usr/local/www/conf/ssl.key/server.key \
APM> --enable-module=proxy
APM> So how would I do it WITH mod perl support. (exact commands would
APM> be appreciated)
APM> Thanks
Look at INSTALL file in the mod_ssl distribution directory. It contains
an example which describes actions needed to build apache with
mod_ssl and mod_perl support. I'm using these instructions without any
problem (RH7.2 on i686). The topic is 'Example', subtopic called 'Apache +
mod_ssl/OpenSSL + mod_perl/Perl'.
Good luck :)
--
WBR, Mike P. Mikhailov
mailto:mike@sibtel.ru
This seems dangerously close to COBOL,something difficult to argue in favor of.
Re: mod perl and apache with ssl and openssl
Posted by Michael Robinton <mi...@bizsystems.com>.
On Tue, 24 Sep 2002, Allan P. Magmanlac wrote:
> Hello,
>
> Can anyone advise me on how to build
> apache server with ssl and openssl and
> using mod perl.
>
> this is how I do it WITHOUT mod perl support
> cd to modssl soure directory and then run the following command
> ./configure \
> --with-apache=../apache_1.3.26 \
> --with-ssl=../openssl-0.9.6g \
> --prefix=/usr/local/root/httpd_1.3.26 \
> --with-crt=/usr/local/root/httpd/usr/local/www/conf/ssl.crt/server.crt \
> --with-key=/usr/local/root/httpd/usr/local/www/conf/ssl.key/server.key \
> --enable-module=proxy
>
> So how would I do it WITH mod perl support. (exact commands would
> be appreciated)
>
> Thanks
>
Sure, here's my receipe. Works every time
make sure open-ssl is built and installed
then
in apache-xxx/
untar and run the Fixpatch script for the appropriate version of
appache-ssl
rm apache/src/Configuration
rm /usr/src/apache/src/Configuration.apaci
edit /usr/src/apache/src/Configuration.tmpl and
modules, i.e.
activate mod_info.o, mod_rewrite.o, mod_so.o libproxy.a
or whatever you plan to use
then
in mod perl source directory
Run:
perl Makefile.PL \
APACHE_SRC=/usr/src/apache/src \
DO_HTTPD=1 \
USE_APACI=1 \
PREP_HTTPD=1 \
EVERYTHING=1 \
in apache directory
./configure --with-layout=Apache \
--activate-module=src/modules/perl/libperl.a
make
make install
Michael