My problem:
I want to open an intranet wiki to the outside world, with Google
login to even view anything beyond the fact of its existence. (I
emailed the list about this before, and it's working great and
everyone is very pleased.)
We have an external IP, which accepts SSL on 443 and http:// on 80,
and passes both through to the back-end server as plaintext on port
80. So both
https://example.wiki and
http://example.wiki work, because
we have legacy http:// URLs in documentation *everywhere* that need to
keep working.
Trouble is: how do I get it, when it gets an http:// URL, to
auto-redirect to https:// ?
Remember that the server sees *only* http:// connections, it isn't
doing SSL at all - SSL is terminated at the external IP.
I had to make the GoogleLogin extension (0.3.1) accept both http://
and https:// versions of Special:GoogleLogin for login to work on
http:// pages.
(Can Apache even see if the incoming request was originally https:// ?)
Ideas welcome!
- d.