Closed
Bug 408297
Opened 17 years ago
Closed 17 years ago
moz.com trunk site has strange redirects?
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: clouserw, Assigned: oremj)
Details
Going to https://www-trunk.stage.mozilla.com/ redirects to http://www-trunk.stage.mozilla.com/en-US/ which fails to connect. It should be staying SSL and redirecting to https://www-trunk.stage.mozilla.com/en-US/
Going to http://www.stage.mozilla.com/ behaves appropriately (redirects to https://www.stage.mozilla.com/en-US) so I think it's the config somewhere and not the moz.com code.
Updated•17 years ago
|
Assignee: server-ops → aravind
Assignee | ||
Comment 2•17 years ago
|
||
I think I have this ironed out. Let me know if it still doesn't look right.
Also, found a bug in the default config.inc.php. It needs to be
if (array_key_exists('HTTPS', $_SERVER) && $_SERVER['HTTPS'] == 'on') {
instead of
if (array_key_exists('https', $_SERVER) && $_SERVER['https'] == 'on') {
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 3•17 years ago
|
||
(In reply to comment #2)
> Also, found a bug in the default config.inc.php. It needs to be
>
> if (array_key_exists('HTTPS', $_SERVER) && $_SERVER['HTTPS'] == 'on') {
>
> instead of
>
> if (array_key_exists('https', $_SERVER) && $_SERVER['https'] == 'on') {
Good catch. Fixed on trunk and stage in SVN. Can you update all the various configs (production, staging (x3), etc.)?
Updated•11 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•6 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•