From fe93d86e5572870b2e4004c7788da8320a28de3d Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Wed, 28 Jul 2010 09:50:12 +0000 Subject: Refactor and cleanup some of the config scripts. Add a sample using mod_proxy_balancer to distribute requests across three servers. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@980009 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/samples/store-python/redirect | 5 ++--- sca-cpp/trunk/samples/store-python/ssl-start | 2 +- sca-cpp/trunk/samples/store-python/uec2-start | 6 +++--- 3 files changed, 6 insertions(+), 7 deletions(-) (limited to 'sca-cpp/trunk/samples/store-python') diff --git a/sca-cpp/trunk/samples/store-python/redirect b/sca-cpp/trunk/samples/store-python/redirect index 6430a6b274..f73b342bf8 100755 --- a/sca-cpp/trunk/samples/store-python/redirect +++ b/sca-cpp/trunk/samples/store-python/redirect @@ -18,7 +18,6 @@ # under the License. # Redirect ports 80 and 443 -intf=$1 -../../ubuntu/ip-redirect 80 8090 $intf -../../ubuntu/ip-redirect 443 8453 $intf +../../ubuntu/ip-redirect-all 80 8090 +../../ubuntu/ip-redirect-all 443 8453 diff --git a/sca-cpp/trunk/samples/store-python/ssl-start b/sca-cpp/trunk/samples/store-python/ssl-start index fa3efcbe14..8f83508578 100755 --- a/sca-cpp/trunk/samples/store-python/ssl-start +++ b/sca-cpp/trunk/samples/store-python/ssl-start @@ -20,7 +20,7 @@ ../../modules/http/ssl-ca-conf tmp localhost ../../modules/http/ssl-cert-conf tmp localhost ../../modules/http/httpd-conf tmp localhost 8090 htdocs -../../modules/http/httpd-ssl-conf tmp localhost 8453 htdocs +../../modules/http/httpd-ssl-conf tmp 8453 ../../modules/server/server-conf tmp ../../modules/python/python-conf tmp cat >>tmp/conf/httpd.conf <>tmp/conf/httpd.conf <