Bug 987971
| Summary: | Redirect to 'Welcome page' in case of invalid URL | ||
|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Pavel Stehlik <pstehlik> |
| Component: | ovirt-engine-core | Assignee: | Alon Bar-Lev <alonbl> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.3 | CC: | acathrow, alonbl, ecohen, iheim |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | integration | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-08-16 21:15:05 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Pavel Stehlik
2013-07-24 13:39:59 UTC
I am not sure if we can do this, since AFAIK - we can't assume that all web-applications installed on the server actually belong to oVirt. [BTW - if you will try to access a non-existing page in the oVirt context, e.g. https://FQDN/webadmin/bla, you will get the oVirt 404 page, which is being automatically redirected to the welcome page] @Alon - thoughts? (In reply to Einav Cohen from comment #1) > I am not sure if we can do this, since AFAIK - we can't assume that all > web-applications installed on the server actually belong to oVirt. > [BTW - if you will try to access a non-existing page in the oVirt context, > e.g. https://FQDN/webadmin/bla, you will get the oVirt 404 page, which is > being automatically redirected to the welcome page] > > @Alon - thoughts? I agree, we should not assume we own the entire web server, at the context of ovirt we do redirect to a special page. In ovirt-engine-3.3 we ask the user if he would like to install default web page to redirect to ovirt. We can add also as user if he want to override default apache ErrorDocument, and redirect to our own page, but I think it is a bad practice to do so, and far from being well behaved application. There were requests of users to be able to install their own application on the engine machine, any global change will cause conflicts. Please keep in mind that server administrator can always configure his server to behave as he likes, especially in this regard, this is standard apache configuration. So I suggest not to perform request. thanks, Alon. agreed. closing. *** Bug 1004406 has been marked as a duplicate of this bug. *** |