https://bugzilla.wikimedia.org/show_bug.cgi?id=60488

Bryan Davis <bda...@wikimedia.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|PATCH_TO_REVIEW             |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Bryan Davis <bda...@wikimedia.org> ---
Ori fixed this with a cool bit of Apache config:

  RewriteRule ^/(.*)$ https://%{HTTP_HOST}%{REQUEST_URI}
[R=301,E=ProtoRedirect]
  Header always merge Vary X-Forwarded-Proto env=ProtoRedirect

This works around an annoying bit of esoteric Apache internals where headers
are stripped during redirect generation and have to be reapplied later. See
http://stackoverflow.com/a/3711110/8171 for a description of the underlying
"feature" that is being addressed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to