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 <alo...@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 <alo...@redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com>
Gerrit-Reviewer: Asaf Shakarchi <a...@redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhorn...@redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vsz...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to