[Mediawiki-l] HTTPS login redirects to HTTP

Jeff Keller jeffkellerplz at gmail.com
Fri Jun 25 13:19:00 UTC 2010


I'd like to be able to run my entire MediaWiki site under SSL.

I can log in via HTTPS but I am redirected to HTTP.

Here's what I'm seeing:

1. Open the site
https://wiki.mysite.com/

2. Click "log in"
https://wiki.mysite.com/index.php?title=Special:UserLogin&returnto=Main_Page

Note: the form submit in the HTML looks like the following:
/index.php?title=Special:UserLogin&action=submitlogin&type=login&returnto=Main_Page

3. I am directed to this page
http://wiki.mysite.com/index.php/Main_Page

I'd like to be directed to
https://wiki.mysite.com/index.php/Main_Page

I was hoping that setting wgProto in my LocalSettings.php would do it, but
that doesn't seem to have any effect.

I am using MediaWiki 1.15.2 on a Linux box with Apache HTTPD and MySQL.

Thanks,
Jeff


More information about the MediaWiki-l mailing list