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

Gerard Meijssen gerard.meijssen at gmail.com
Mon Dec 9 11:03:50 UTC 2013


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/labs-l/attachments/20131209/1b372e45/attachment.html>


More information about the Labs-l mailing list