LP#1748466: Fix http -> https /eg/staff rewrite on Apache 2.4.