Closed
Bug 526746
Opened 17 years ago
Closed 16 years ago
[dashboard] support load balancer flag for https
Categories
(Mozilla Localizations :: Infrastructure, defect, P1)
Mozilla Localizations
Infrastructure
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Pike, Unassigned)
References
Details
We need to check that requests for pages with auth have the load balancer's SSL http headers on.
Additional icing on the cake if we can just use a django-middleware that does that and makes request.is_secure() return true, http://docs.djangoproject.com/en/dev/ref/request-response/#django.http.HttpRequest.is_secure.
We need a spec on what we're actually checking, though. Matthew?
| Reporter | ||
Comment 1•16 years ago
|
||
Wil, do you have the specs on the headers the load balancer sends for https?
Comment 2•16 years ago
|
||
On the Netscaler we have this:
add filter action add_reqssl_header add "MOZ-REQ-METHOD:HTTPS"
Comment 3•16 years ago
|
||
(In reply to comment #2)
> On the Netscaler we have this:
>
> add filter action add_reqssl_header add "MOZ-REQ-METHOD:HTTPS"
Also, on AMO we just had the netscaler force HTTPS to ON so apache didn't know the difference. That might be the easiest thing if you're working with a framework.
| Reporter | ||
Updated•16 years ago
|
Priority: -- → P1
Comment 4•16 years ago
|
||
mrz, gandalf is in Mountain View this week (11/30). he should probably chat with you about this. around to chat with us?
Updated•16 years ago
|
Summary: [dashboard] support load bancer flag for https → [dashboard] support load balancer flag for https
Comment 5•16 years ago
|
||
Sure - pulling in oremj & fox2mike who would be better to loop in than me.
Comment 6•16 years ago
|
||
In the Apache Vhost we do:
SetEnv HTTPS on
I'm not sure how it will look in django, but php sees it as $_SERVER['HTTPS'] == 'on'.
| Reporter | ||
Comment 7•16 years ago
|
||
FIXED, the server is only on https.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•