Re: mod perl and apache with ssl and openssl
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
RE: mod perl and apache with ssl and openssl
> Can anyone advise me on how to build >apache server with ssl and openssl and >using mod perl. It's right there in the user's guide. http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_and_mod_ssl___op enssl_ -Fran
Re: mod perl and apache with ssl and openssl
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:[EMAIL PROTECTED] This seems dangerously close to COBOL,something difficult to argue in favor of.
Re: mod perl and apache with ssl and openssl
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 # build script # export MOD_PERL=mod_perl-1.27 export MOD_PERL_TGZ=${MOD_PERL}.tar.gz export MOD_SSL=mod_ssl-2.8.10-1.3.26 export MOD_SSL_TGZ=${MOD_SSL}.tar.gz export OPENSSL=openssl-0.9.6g export OPENSSL_TGZ=${OPENSSL}.tar.gz export OPENSSL_PREFIX=/usr/local export SSL_BASE=../${OPENSSL} export APACHE=apache_1.3.26 export APACHE_TGZ=${APACHE}.tar.gz export APACHE_SRC=../$APACHE/src; export APACHE_PREFIX=/usr rm -rf $APACHE rm -rf $MOD_PERL rm -rf $OPENSSL rm -rf $MOD_SSL gunzip < $OPENSSL_TGZ | tar xfop - gunzip < $APACHE_TGZ | tar xfop - gunzip < $MOD_SSL_TGZ | tar xfop - gunzip < $MOD_PERL_TGZ | tar xfop - cd $OPENSSL ./config --prefix=$OPENSSL_PREFIX make && make install cd ../$MOD_SSL ./configure \ --with-apache=../$APACHE \ --with-ssl=../$OPENSSL \ --with-crt=$APACHE_PREFIX/conf/ssl.crt/server.crt \ --with-key=$APACHE_PREFIX/conf/ssl.key/server.key \ --prefix=$APACHE_PREFIX cd ../$MOD_PERL perl Makefile.PL \ APACHE_PREFIX=$APACHE_PREFIX \ APACHE_SRC=../$APACHE/src \ DO_HTTPD=1 \ USE_APACI=1 \ EVERYTHING=1 \ APACI_ARGS=' --enable-module=so, \ --enable-module=ssl, \ --enable-module=proxy, \ --disable-module=imap, \ --disable-module=cgi, \ --disable-module=asis, \ --disable-module=autoindex, \ --disable-module=actions, \ --enable-module=info, \ --enable-module=usertrack' make && make install
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