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

Laszlo Hornyak 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 Currently when a page in the root web application is not found we send a 404 error and the application server generates the default errot page, which is not very nice. This patch changes the root web application so that it will redirect to the index page. Note that this will not work for page not found errors in other applications like webadmin or user portal. Change-Id: Id6f97e39fea06de211e04aa18371f3b117aebd07 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> --- A backend/manager/modules/root/src/main/java/org/ovirt/engine/core/ErrorServlet.java M backend/manager/modules/root/src/main/webapp/WEB-INF/web.xml 2 files changed, 36 insertions(+), 0 deletions(-) Approvals: Laszlo Hornyak: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/5753 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id6f97e39fea06de211e04aa18371f3b117aebd07 Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Laszlo Hornyak <lhornyak@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzaslavs@redhat.com>
participants (1)
-
lhornyak@redhat.com