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)

All
Other
task
Not set
normal

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.
Assignee: server-ops → aravind
i was messing with it will look asap
Assignee: aravind → oremj
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
(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.)?
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.