Change in ovirt-engine[master]: core: Redirect to index when page not found

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Aug 14 16:49:26 UTC 2012


Juan Hernandez has submitted this change and it was merged.

Change subject: core: Redirect to index when page not found
......................................................................


core: Redirect to index when page not found

This is a fix for commit 2107a03979 (ouput index.html as error page),
which was a fix for commit 66edaab361 (redirect servlet).

Introduce error.html at root, webapp, userportal-gwtp. Use HTTP meta
refresh to redirect to root context.

As a result the index.html hrefs can be relative as they should.

Repeating the note:

HTTP Redirect causing problems with clients (GWT for example)
that follow the redirect and this don't recieve the error code.

Change-Id: I63e7992a748935347eee7b65930bc6d29fdb92db
Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>
---
A backend/manager/modules/root/src/main/webapp/404.html
M backend/manager/modules/root/src/main/webapp/WEB-INF/web.xml
M backend/manager/modules/root/src/main/webapp/index.html
A frontend/webadmin/modules/userportal-gwtp/src/main/webapp/404.html
M frontend/webadmin/modules/userportal-gwtp/src/main/webapp/WEB-INF/web.xml
A frontend/webadmin/modules/webadmin/src/main/webapp/404.html
M frontend/webadmin/modules/webadmin/src/main/webapp/WEB-INF/web.xml
7 files changed, 84 insertions(+), 6 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/7153
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I63e7992a748935347eee7b65930bc6d29fdb92db
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Asaf Shakarchi <asaf at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list