diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-28 09:50:12 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-28 09:50:12 +0000 |
commit | fe93d86e5572870b2e4004c7788da8320a28de3d (patch) | |
tree | 95d45d6e22dd51af2b9fe0db5231f592b1396913 /sca-cpp/trunk/samples/store-vhost | |
parent | 73d5d5ee4452d4eb44938a1a0556a4312e94e135 (diff) |
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
Diffstat (limited to 'sca-cpp/trunk/samples/store-vhost')
-rwxr-xr-x | sca-cpp/trunk/samples/store-vhost/ssl-start | 6 | ||||
-rwxr-xr-x | sca-cpp/trunk/samples/store-vhost/start | 3 | ||||
-rwxr-xr-x | sca-cpp/trunk/samples/store-vhost/uec2-start | 10 |
3 files changed, 12 insertions, 7 deletions
diff --git a/sca-cpp/trunk/samples/store-vhost/ssl-start b/sca-cpp/trunk/samples/store-vhost/ssl-start index 368a664674..b4e51e0be4 100755 --- a/sca-cpp/trunk/samples/store-vhost/ssl-start +++ b/sca-cpp/trunk/samples/store-vhost/ssl-start @@ -23,8 +23,10 @@ ../../modules/http/ssl-ca-conf tmp sca-store.com ../../modules/http/ssl-cert-conf tmp sca-store.com server ../../modules/http/ssl-cert-conf tmp *.sca-store.com vhost -../../modules/http/httpd-conf tmp sca-store.com 8090 htdocs vhost -../../modules/http/httpd-ssl-conf tmp sca-store.com 8453 htdocs vhost +../../modules/http/httpd-conf tmp sca-store.com 8090 htdocs +../../modules/http/vhost-conf tmp +../../modules/http/httpd-ssl-conf tmp 8453 +../../modules/http/vhost-ssl-conf tmp ../../modules/server/server-conf tmp ../../modules/python/python-conf tmp cat >>tmp/conf/httpd.conf <<EOF diff --git a/sca-cpp/trunk/samples/store-vhost/start b/sca-cpp/trunk/samples/store-vhost/start index 01173e68b7..9f218807f9 100755 --- a/sca-cpp/trunk/samples/store-vhost/start +++ b/sca-cpp/trunk/samples/store-vhost/start @@ -17,7 +17,8 @@ # specific language governing permissions and limitations # under the License. -../../modules/http/httpd-conf tmp sca-store.com 8090 htdocs vhost +../../modules/http/httpd-conf tmp sca-store.com 8090 htdocs +../../modules/http/vhost-conf tmp ../../modules/server/server-conf tmp ../../modules/python/python-conf tmp cat >>tmp/conf/httpd.conf <<EOF diff --git a/sca-cpp/trunk/samples/store-vhost/uec2-start b/sca-cpp/trunk/samples/store-vhost/uec2-start index ddf70975ef..c4720cafd5 100755 --- a/sca-cpp/trunk/samples/store-vhost/uec2-start +++ b/sca-cpp/trunk/samples/store-vhost/uec2-start @@ -26,14 +26,16 @@ else fi # Ports 80, 443, 8090, 8453 need to be open -sudo ../../ubuntu/ip-redirect 80 8090 -sudo ../../ubuntu/ip-redirect 443 8453 +sudo ../../ubuntu/ip-redirect-all 80 8090 +sudo ../../ubuntu/ip-redirect-all 443 8453 ../../modules/http/ssl-ca-conf tmp $host ../../modules/http/ssl-cert-conf tmp $host server ../../modules/http/ssl-cert-conf tmp "*.$host" vhost -../../modules/http/httpd-conf tmp $host 8090/80 htdocs vhost -../../modules/http/httpd-ssl-conf tmp $host 8453/443 htdocs vhost +../../modules/http/httpd-conf tmp $host 8090/80 htdocs +../../modules/http/vhost-conf tmp +../../modules/http/httpd-ssl-conf tmp 8453/443 +../../modules/http/vhost-ssl-conf tmp ../../modules/server/server-conf tmp ../../modules/python/python-conf tmp cat >>tmp/conf/httpd.conf <<EOF |