diff options
Diffstat (limited to '')
-rwxr-xr-x | sca-cpp/trunk/hosting/server/start | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/sca-cpp/trunk/hosting/server/start b/sca-cpp/trunk/hosting/server/start index da0dcecf40..a74581aa59 100755 --- a/sca-cpp/trunk/hosting/server/start +++ b/sca-cpp/trunk/hosting/server/start @@ -53,12 +53,6 @@ CustomLog "|$here/../../components/log/scribe-cat server" combined EOF - cat >tmp/conf/log-ssl.conf <<EOF -# Generated by: start $* -CustomLog "|$here/../../components/log/scribe-cat server" sslcombined - -EOF - else cat >tmp/conf/log.conf <<EOF # Generated by: start $* @@ -68,12 +62,6 @@ CustomLog $here/tmp/logs/access_log combined EOF - cat >tmp/conf/log-ssl.conf <<EOF -# Generated by: start $* -CustomLog $here/tmp/logs/ssl_access_log sslcombined - -EOF - fi # Configure error pages @@ -82,6 +70,7 @@ cat >>tmp/conf/svhost.conf <<EOF # Error pages ErrorDocument 404 /public/notfound/ ErrorDocument 401 /public/notauth/ +ErrorDocument 403 /public/notauth/ ErrorDocument 500 /public/oops/ ErrorDocument 405 /public/oops/ @@ -95,8 +84,9 @@ SCAContribution $here/ SCAComposite server.composite # Configure SCA Composite for mass dynamic virtual Hosting -SCAVirtualContribution $here/data/apps/ -SCAVirtualComposite app.composite +#SCAVirtualContribution $here/data/apps/ +#SCAVirtualComposite app.composite +SCAVirtualContributor Composites EOF @@ -108,8 +98,13 @@ Alias /home/home.b64 $here/htdocs/home/home.b64 EOF -# Create app resource links -./mkapplinks data ../../../../.. ../../../../../../nuvem +# Create app implementation resource links +if [ ! -e "nuvem" ]; then + ln -s "../../../nuvem/nuvem-parallel/nuvem" "nuvem" +fi +if [ ! -e "lib" ]; then + ln -s "../../components" "lib" +fi # Configure app resource aliases cat >>tmp/conf/svhost.conf <<EOF |