diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-11-10 02:36:40 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-11-10 02:36:40 +0000 |
commit | 52cd682405f7a052d45d83b66cc75f19316ceffe (patch) | |
tree | 6b76eeddb2d4682db61f8e38462413bc40b59a3d /sca-cpp/trunk/modules/server/server-conf | |
parent | 629c1f267e5f7a835891e36ebdae8404740f13e2 (diff) |
Enable multiple apps to co-exist under different paths in a single Virtual Host and Internet domain.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1200105 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rwxr-xr-x | sca-cpp/trunk/modules/server/server-conf | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/sca-cpp/trunk/modules/server/server-conf b/sca-cpp/trunk/modules/server/server-conf index a8e57cf289..5b3024abbc 100755 --- a/sca-cpp/trunk/modules/server/server-conf +++ b/sca-cpp/trunk/modules/server/server-conf @@ -31,25 +31,6 @@ else libsuffix=".so" fi -conf=`cat $root/conf/httpd.conf | grep "# Generated by: httpd-conf"` -host=`echo $conf | awk '{ print $6 }'` -port=`echo $conf | awk '{ print $7 }' | awk -F "/" '{ print $1 }'` -pport=`echo $conf | awk '{ print $7 }' | awk -F "/" '{ print $2 }'` -if [ "$pport" = "" ]; then - pport=$port -fi -servername="http://$host:$pport" - -sslconf=`cat $root/conf/httpd.conf | grep "# Generated by: httpd-ssl-conf"` -if [ "$sslconf" != "" ]; then - sslport=`echo $sslconf | awk '{ print $6 }' | awk -F "/" '{ print $1 }'` - sslpport=`echo $sslconf | awk '{ print $6 }' | awk -F "/" '{ print $2 }'` - if [ "$sslpport" = "" ]; then - sslpport=$sslport - fi - servername="https://$host:$sslpport" -fi - cat >>$root/conf/modules.conf <<EOF # Generated by: server-conf $* # Support for SCA component wiring @@ -59,9 +40,6 @@ EOF cat >>$root/conf/httpd.conf <<EOF # Generated by: server-conf $* -# Route all wiring through the configured server name -SCAWiringServerName $servername - # Serve JavaScript client scripts Alias /component.js $jsprefix/htdocs/component.js Alias /util.js $jsprefix/htdocs/util.js |