Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Need help setting up mod_ssl for apache 2.0.46 on rh9

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Apache 2 + mod_rewrite + content-length HTTP head..  
Author Message
plamarre

External


Since: Jul 09, 2003
Posts: 1



(Msg. 1) Posted: Wed Jul 09, 2003 4:40 pm
Post subject: Need help setting up mod_ssl for apache 2.0.46 on rh9
Archived from groups: alt>apache>configuration (more info?)

How do you build apache 2.0.46 with SSL support? Got the apache
2.0.46 tarball, extracted it, and grabbed latest mod_ssl tarball from
www.modssl.org. However, it appears to only be for apached 1.3.27.
When trying to run ./configure --with-apache=../httpd_dir, I get
errors that it can't find apache 1.3.27 source. Need help.. really
stuck.

 >> Stay informed about: Need help setting up mod_ssl for apache 2.0.46 on rh9 
Back to top
Login to vote
user2368

External


Since: Jul 10, 2003
Posts: 2



(Msg. 2) Posted: Thu Jul 10, 2003 12:31 pm
Post subject: Re: Need help setting up mod_ssl for apache 2.0.46 on rh9 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You must use openssl at <a style='text-decoration: underline;' href="http://www.openssl.org" target="_blank">www.openssl.org</a>

This my script to compile apache whith ssl and gzip on AIX :



#!/bin/ksh
# Variables
LOG="/software/bin/log.sh"
SRC="/src"
COMPILE="$SRC/apache"
INSTALL="$SRC/install"
INSTALLAPACHE="/software/apache"

# true --> Demander une confirmation avant de passer à la compilation
suivante, false --> Pas de demande
INTERACTIF="true"

# Versions des Sources a Modifier selon le Besoin
HTTPDSRC=httpd-2.0.47
OPENSSLSRC=openssl-0.9.7b
ZLIBSRC=zlib-1.1.4

# Variable de compilation
# mcpu=rs64a pour un H70, 604 pour 43P et F50
CFLAGS="-O3 -pthread -mcpu=604"

typeset -i numero=0

#########################################################################
# Demande de confirmation
#########################################################################
confirmation () {
if [ "$INTERACTIF" = "true" ] ; then
  $LOG "\t\t\t\t*****************************************"
  $LOG "\t\t\t\t***** Taper <Entree> pour continuer *****"
  $LOG "\t\t\t\t*****************************************"
  read reponse
fi
}

#########################################################################
# Affiche d'un probleme
# $1 est le code retour de la commande precedente, $2 est le nom de
cette commande
#########################################################################
showProblem () {
if [ "$1" = "0" ] ; then
  $LOG "\t\t\t\t+++++ $2 OK +++++"
else
  $LOG "\t\t\t\t!!!!! $2 KO !!!!!"
  exit 1
fi
}

#########################################################################
# Compilation de ZLIB
#########################################################################
compileZLIB () {
cd $COMPILE
$LOG "\t----- Compilation de $ZLIBSRC ..."
$LOG "\t\t----- Deploiement de $ZLIBSRC ..."
rm -rf $COMPILE/$ZLIBSRC
tar xvf $ZLIBSRC.tar
cd $COMPILE/$ZLIBSRC
export CFLAGS="$CFLAGS"

$LOG "\t\t----- Configuration de $ZLIBSRC ..."
../configure --prefix=$INSTALL
showProblem $? configure

$LOG "\t\t----- Compilation de $ZLIBSRC ..."
gmake
showProblem $? gmake

$LOG "\t\t----- Test de $ZLIBSRC ..."
gmake test
showProblem $? gmake_test

$LOG "\t\t----- Installation de $ZLIBSRC ..."
gmake install
showProblem $? gmake_install

$LOG "\t----- Compilation de $ZLIBSRC terminee."
}

#########################################################################
# Compilation de OPENSSL
#########################################################################
compileOPENSSL () {
cd $COMPILE
$LOG "\t----- Compilation de $OPENSSLSRC ..."
$LOG "\t\t----- Deploiement de $OPENSSLSRC ..."
rm -rf $COMPILE/$OPENSSLSRC
tar xvf $OPENSSLSRC.tar
cd $COMPILE/$OPENSSLSRC
export CFLAGS="$CFLAGS"

$LOG "\t\t----- Configuration de $OPENSSLSRC ..."
numero=`grep -n "aix-cc" Configure | head -1 | cut -d":" -f1`
head -$numero Configure > Configure.$$
echo "\"aix51-gcc-apache\", \"gcc:${CFLAGS} -DAIX
-DB_ENDIAN::(unknown):::BN_LLONG RC4_CHAR::::::::::dlfcn:\"," >>
Configure.$$
tail +$numero Configure >> Configure.$$
mv Configure.$$ Configure
chmod +x Configure
../Configure aix51-gcc-apache threads no-shared no-dso no-asm
--openssldir=$INSTALL/openssl
showProblem $? Configure

$LOG "\t\t----- Compilation de $OPENSSLSRC ..."
gmake
showProblem $? gmake

$LOG "\t\t----- Test de $OPENSSLSRC ..."
gmake test
showProblem $? gmake_test

$LOG "\t\t----- Installation de $OPENSSLSRC ..."
gmake install
showProblem $? gmake_install

$LOG "\t----- Compilation de $OPENSSLSRC terminee."
}

#########################################################################
# Compilation de HTTPD
#########################################################################
compileHTTPD () {
cd $COMPILE
$LOG "\t----- Compilation de $HTTPDSRC ..."
$LOG "\t\t----- Deploiement de $HTTPDSRC ..."
rm -rf $COMPILE/$HTTPDSRC
cd $COMPILE
tar xvf $HTTPDSRC.tar
cd $COMPILE/$HTTPDSRC

$LOG "\t\t----- Arret de HTTPD APACHE ..."
$INSTALLAPACHE/admin/adminProxy.sh stop
sleep 5
$INSTALLAPACHE/admin/adminProxy.sh stop
sleep 5

slibclean
slibclean
export CFLAGS="$CFLAGS"

$LOG "\t\t----- Configuration Phase 1 de $HTTPDSRC ..."
../buildconf
showProblem $? buildconf

$LOG "\t\t----- Configuration Phase 2 de $HTTPDSRC ..."
../configure --enable-modules=all --enable-expires --enable-headers
--enable-deflate --enable-proxy --enable-proxy-connect
--enable-proxy-http --enable-cache --enable-disk-cache
--enable-mem-cache --enable-rewrite --enable-logio --enable-file-cache
--enable-info --enable-ssl=static --enable-auth-digest --disable-dav
--prefix=$INSTALLAPACHE --with-ssl=$INSTALL/openssl --with-z=$INSTALL
--with-egd=yes --with-mpm=worker
showProblem $? configure

$LOG "\t\t----- Compilation de $HTTPDSRC ..."
gmake
showProblem $? gmake

$LOG "\t\t----- Preparation de l'Installation de $HTTPDSRC ..."
/software/apache/admin/prepareApache.sh

$LOG "\t\t----- Installation de $HTTPDSRC ..."
gmake install
showProblem $? gmake_install

$LOG "\t\t----- Finalisation de l'Installation de $HTTPDSRC ..."
/software/apache/admin/installApache.sh

$LOG "\t----- Compilation de $HTTPDSRC terminee."
}


#########################################################################
#########################################################################
# Programme Principal
#########################################################################
#########################################################################

echo
$LOG "Compilation du Serveur HTTPD APACHE ..."

$LOG "\t----- Liste des Softwares a compiler : $ZLIBSRC, $OPENSSLSRC
et $HTTPDSRC"
confirmation

$LOG "\t----- Preparation des Archives ..."
cd $COMPILE
gunzip *.gz
rm -rf $INSTALL/*

$LOG "\t----- Compilation des Softwares ..."
echo
compileZLIB
confirmation
compileOPENSSL
confirmation
compileHTTPD

echo
$LOG "\t----- Compilation des Softwares terminee."

$LOG "Compilation du Serveur HTTPD APACHE terminee."





plamarre.TakeThisOut@yahoo.com (plamarre@yahoo.com) wrote in message news:<7d11b4df.0307091240.1cffba01.TakeThisOut@posting.google.com>...
 > How do you build apache 2.0.46 with SSL support? Got the apache
 > 2.0.46 tarball, extracted it, and grabbed latest mod_ssl tarball from
 > <a style='text-decoration: underline;' href="http://www.modssl.org." target="_blank">www.modssl.org.</a> However, it appears to only be for apached 1.3.27.
 > When trying to run ./configure --with-apache=../httpd_dir, I get
 > errors that it can't find apache 1.3.27 source. Need help.. really
 > stuck.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Need help setting up mod_ssl for apache 2.0.46 on rh9 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
httpd.conf and virtual hosts, mod_ssl - Need Help plz - Hi - here's my situ: 1 server w/apache/mod_ssl with 3 virtual hosts running behind firewall - 1 ip address. Trying to get one (1) of the virtual hosts to be accessible thru ports 80 and 443. After 20 hours of RTFM, my attempts to connect to https for tha...

APACHE and PHP module - Hi , I got my multiple sites running now and I found I need to use PHP config directives in apache ..So I set up PHP to run as a module last night and got it to work ( I think !) .. How can I test PHP to see if its in the new configuration ?.So far I can...

Apache 2.o.46 and Windows XP - Hi. I'm running an Apache2 webserver on a windows xp box on a network. I want to be able to let internet users access it. So I went in to the setting in my internet connection and enabled the web server service. I've tried running the webserver and it..

Apache and FoxPro - Hi all, I want try using Apache instead IIS, but some problem occurs when I want to lunch VFP OLE Public based dll with Apache on WinXP station. How to use or configure CGI section, is anybody can give me some sample, what about use ISAPI.DLL or..

Apache-contrib - Hi I need mos_auth_system. I can get that by installing the apache-contrib on my Apache 2.0 Redhat 9.0 server. (http://www.hklpg.org/RPM/contrib/libc6/i386/apache-contrib-1.0.8-1.i386.htm l) I get the following error: root@GSM]# rpm -Uvh..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]