[ovirt] #18: Plain domain http://ovirt.org/Foo redirects are not working

#18: Plain domain http://ovirt.org/Foo redirects are not working -------------------------------+------------------------ Reporter: quaid | Owner: infra@… Type: task | Status: new Priority: critical | Milestone: oVirt 3.2 Component: wiki (MediaWiki) | Version: Production Severity: High | Keywords: Blocked By: | Blocking: -------------------------------+------------------------ A link in the format of ovirt.org/Foo where "Foo" is "anything" does not work. For example: http://ovirt.org/get-ovirt The following should happen: 1. Request is sent to the server holding the A record for 'ovirt.org', which is linode01.ovirt.org. 1. httpd server on linode01 redirects everything to www.ovirt.org. 1. www is on OpenShift, and the request is run through the .htaccess file rules. 1. The .htaccess file rule for '/get-ovirt' is to redirect to 'Download'. Instead, a 404 error Page Not Found. Problem is, I cannot recreate this in every browser. For Firefox, it works fine. I happened to test in Chromium, which does not work. For 'links', I get the 404 error. This problem arose because the [[MediaWiki:Sidebar]] was still set to 'http://ovirt.org/get-ovirt'. This is a vestigal link from the previous instance, when the download page was in the WordPress instance. A reviewer of the site noticed that the "Download" link went to a 404. I looked and saw it was doing a direct link to a URL instead of to the internal MediaWiki article [[Download]]. I fixed the navigation so the "Download" link is no longer broken for Chromium (I presume.) This is all I know so far, more research to come. -- Ticket URL: <https://fedorahosted.org/ovirt/ticket/18> ovirt <http://www.ovirt.org/> oVirt - virtualization made easy.

#18: Plain domain http://ovirt.org/Foo redirects are not working ------------------------------+------------------------- Reporter: quaid | Owner: infra@… Type: task | Status: new Priority: critical | Milestone: oVirt 3.2 Component: wiki (MediaWiki) | Version: Production Severity: High | Resolution: Keywords: | Blocked By: Blocking: | ------------------------------+------------------------- Comment (by dneary): The patch takes all requests where the host doesn't match www.ovirt.org and replaces the hostname bit with www.ovirt.org To be slightly more restrictive, you can match exactly "ovirt.org" if the same host has several vhosts it's managing. Source: http://httpd.apache.org/docs/2.0/misc/rewriteguide.html (Canonical hostnames) -- Ticket URL: <https://fedorahosted.org/ovirt/ticket/18#comment:1> ovirt <http://www.ovirt.org/> oVirt - virtualization made easy.
participants (1)
-
ovirt