Fix links to CSS and error pages.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1086048 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b334d8f3cf
commit
b8bb1902cd
2 changed files with 13 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue