Bug 1094070 - Apache 302 redirect to https
Summary: Apache 302 redirect to https
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Unknown
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-04 22:40 UTC by tunedconsulting
Modified: 2015-05-15 02:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-05 00:31:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description tunedconsulting 2014-05-04 22:40:33 UTC
Description of problem:
I added a custom alias to my app (www.spacexplore.it) via rhc, and now every request gets wrongly redirected with a 302


How reproducible:
Surf to spacexplore.it in the browser


Actual results:
Apache redirect to https://<app_name>-<app_domain>.rhcloud.com/app


Expected results:
The app homepage at chronos-novumorganum.rhcloud.com should appear in the browser

Additional info:

curl -k "http://www.spacexplore.it" 

output:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://www.spacexplore.it/app">here</a>.</p>
<hr>
<address>Apache/2.2.15 (Red Hat) Server at www.spacexplore.it Port 80</address>
</body></html>

Comment 1 tunedconsulting 2014-05-04 22:43:48 UTC
I tried to delete the alias and add it again via rhc.

Same result.

Comment 2 tunedconsulting 2014-05-04 23:28:09 UTC
Flushed the DNS cache with no improvement.

Is it possible it happened because of a conflict of aliases with another app?

Comment 3 tunedconsulting 2014-05-05 00:26:14 UTC
Just a problem of really slow DNS propagation and cache in our network.
Thanks Dan. (:


Note You need to log in before you can comment on or make changes to this bug.