Author: jfrederic.clere(a)jboss.com
Date: 2009-01-21 05:08:50 -0500 (Wed, 21 Jan 2009)
New Revision: 2190
Modified:
trunk/mod_cluster/test/java/installhttpd.sh
Log:
windoze needs the modules load commands.
Modified: trunk/mod_cluster/test/java/installhttpd.sh
===================================================================
--- trunk/mod_cluster/test/java/installhttpd.sh 2009-01-21 09:21:03 UTC (rev 2189)
+++ trunk/mod_cluster/test/java/installhttpd.sh 2009-01-21 10:08:50 UTC (rev 2190)
@@ -77,6 +77,7 @@
BASEHTTPD=opt/jboss/httpd
BASEHTTPDCONF=opt/jboss/httpd/httpd/conf
BASEHTTPDSBIN=opt/jboss/httpd/sbin
+ADDMODULES=false
case $BUILD_TAG in
*hpux-parisc2*)
BASE=mod_cluster-hp-ux-9000_800
@@ -105,6 +106,7 @@
BASEHTTPD=httpd-2.2
BASEHTTPDCONF=httpd-2.2/conf
BASEHTTPDSBIN=httpd-2.2/bin
+ ADDMODULES=true
;;
esac
#PACKAGE=rhel-httpd-2.2.8-1.el5s2
@@ -175,6 +177,23 @@
echo "s/Listen 80.*/Listen @IP@:8000/" > sed.cmd
echo "s/LoadModule proxy_balancer/#LoadModule proxy_balancer/" >>
sed.cmd
sed -f sed.cmd "$file" > "$file.new"
+
+if $ADDMODULES
+then
+ #Add loadmodule if needed (on windoze).
+ cat >> "$file.new" <<EOF
+LoadModule proxy_module modules/mod_proxy.so
+LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
+LoadModule proxy_http_module modules/mod_proxy_http.so
+
+LoadModule proxy_cluster_module modules/mod_proxy_cluster.so
+
+LoadModule manager_module modules/mod_manager.so
+LoadModule slotmem_module modules/mod_sharedmem.so
+LoadModule advertise_module modules/mod_advertise.so
+EOF
+fi
+
cat >> "$file.new" <<EOF
<IfModule manager_module>
Listen @IP@:6666
Show replies by date