diff options
-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 |