diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-03-27 21:59:10 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-03-27 21:59:10 +0000 |
commit | b8bb1902cdabb27b93a84128c58407eceddfdb3c (patch) | |
tree | 283980103278ce2051a3b53e88debf46dd28964c /sca-cpp | |
parent | b334d8f3cfb7b43e705ed0b7c7aa6e2ce23e5bd6 (diff) |
Fix links to CSS and error pages.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1086048 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp')
-rwxr-xr-x | sca-cpp/trunk/modules/edit/ssl-start | 9 | ||||
-rwxr-xr-x | sca-cpp/trunk/modules/edit/start | 7 |
2 files changed, 13 insertions, 3 deletions
diff --git a/sca-cpp/trunk/modules/edit/ssl-start b/sca-cpp/trunk/modules/edit/ssl-start index 383041d74b..def40de019 100755 --- a/sca-cpp/trunk/modules/edit/ssl-start +++ b/sca-cpp/trunk/modules/edit/ssl-start @@ -53,11 +53,16 @@ ErrorDocument 500 /public/oops.html EOF # Configure app home pages -cat >>tmp/conf/dvhost.conf <<EOF +cat >>tmp/conf/dvhost-ssl.conf <<EOF # Redirect to app home page RewriteEngine On RewriteRule ^/$ /index.html [R] +# Error pages +ErrorDocument 404 /public/notfound.html +ErrorDocument 401 /public/notauth.html +ErrorDocument 500 /public/oops.html + EOF # Configure SCA contributions @@ -75,7 +80,7 @@ EOF # Configure look and feel cat >>tmp/conf/httpd.conf <<EOF # Override CSS -Alias /ui.css $jsprefix/htdocs/uicyan.css +#Alias /ui.css $jsprefix/htdocs/uicyan.css EOF diff --git a/sca-cpp/trunk/modules/edit/start b/sca-cpp/trunk/modules/edit/start index 6dc387a902..e377299c92 100755 --- a/sca-cpp/trunk/modules/edit/start +++ b/sca-cpp/trunk/modules/edit/start @@ -46,6 +46,11 @@ cat >>tmp/conf/dvhost.conf <<EOF RewriteEngine On RewriteRule ^/$ /index.html [R] +# Error pages +ErrorDocument 404 /public/notfound.html +ErrorDocument 401 /public/notauth.html +ErrorDocument 500 /public/oops.html + EOF # Configure SCA contributions @@ -63,7 +68,7 @@ EOF # Configure look and feel cat >>tmp/conf/httpd.conf <<EOF # Override CSS -Alias /ui.css $jsprefix/htdocs/uicyan.css +#Alias /ui.css $jsprefix/htdocs/uicyan.css EOF |