Closed
Bug 645625
Opened 13 years ago
Closed 13 years ago
[kitsune] Fix redirect error after SSL turned on
Categories
(support.mozillamessaging.com Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rolandtanglao, Assigned: gozer)
References
()
Details
as per :gozer, there's some kind of redirect error after SSL is turned on that needs to be fixed
Comment 1•13 years ago
|
||
the http login url needs a rewrite to https http://stage-kitsune.mozillamessaging.com/en-US/users/login is the url
Comment 2•13 years ago
|
||
You shouldn't need an .htaccess rewrite (the webroot/ directory contains all the .htaccess you should need). The login view[1] is wrapped in our @ssl_required[2] decorator which guarantees the request will be HTTPS unless settings.DEBUG is True (should never be True even in a staging server). Also, your HTTPS vhost should bet setting `SetEnv HTTPS on`, but that's standard for Apache. [1] https://github.com/jsocol/kitsune/blob/2.6.2.3/apps/users/views.py#L31 [2] https://github.com/jsocol/kitsune/blob/2.6.2.3/apps/sumo/decorators.py
Assignee | ||
Comment 3•13 years ago
|
||
AH, problem solved, we had DEBUG turned on in staging.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•