[Labs-l] Redirecting from http to https with lighthttp

Dan Michael O. Heggø danmichaelo+wikipedia at gmail.com
Mon Dec 9 11:30:33 UTC 2013


It's blocked? No, I wasn't aware of that, but since my tool uses OAuth, it
won't work without https anyway. But I loose session data if a user moves
from http to https, which is why I want to enforce https.

Dan Michael


On 9 December 2013 12:03, Gerard Meijssen <gerard.meijssen at gmail.com> wrote:

> Hoi,
> I hope you are aware that https is not to be enforced for countries like
> China and Iran..
> Thanks,
>      GerardM
>
>
> On 9 December 2013 11:41, Dan Michael O. Heggø <
> danmichaelo+wikipedia at gmail.com> wrote:
>
>>  I'm trying to enforce https for my tool. With webservice started[1], I
>> tried putting
>>
>> $HTTP["scheme"] == "http" {
>>   url.redirect = (".*" => "https://tools.wmflabs.org$0")
>> }
>>
>> in my .lighthttpd.conf, but it results in an infinite redirect loop.
>>
>> Dan Michael
>>
>> [1] https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Help/NewWeb
>>
>>
>> _______________________________________________
>> Labs-l mailing list
>> Labs-l at lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/labs-l
>>
>>
>
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/labs-l
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/labs-l/attachments/20131209/c11d4c17/attachment-0001.html>


More information about the Labs-l mailing list