We are using MediaWiki on an internal, private network and don't need SSL.  How can I disable it?

Replies (6)

Ah yes, you are right!

Reply 1

You are correct! Thanks for posting.

You are correct!

Reply 2

Well spotted and thanks for posting with the correction/extra info.

One more needed change

Reply 3
Thanks for the description! However, you also need the add the following line to the `VirtualHost *:80>` section:
DocumentRoot /var/www/mediawiki/

Hi Todd

Reply 4

Assuming that you are referring to the latest v15.2 appliance, then there are 2 required adjustments:

The first is to remove the http -> https redirect in the Apache config. To do that, remove the rewrite rules from the port 80 section of the Apache config file (/etc/apache2/sites-available/mediawiki.conf). The lines that you'll want to remove are these 3 (lines 6, 7 & 8 currently).

The other thing that you'll need to do is to adjust the Mediawiki config file (/var/www/mediawiki/LocalSettings.php). Find the line that starts with $wgServer and change that to point to http (rather than https).

Then to apply the updated config, restart Apache:

service apache2 restart

Hopefully that gets you going and all is well. Let me know if not.

Ok great, yes reboot is another option

Reply 5

So long as Apache is restarted you should be good, so rebooting is another way to achieve that ends (although restarting Apache is quicker).

Hopefully you should be good to go once all that's done.

Thanks

Reply 6

I did the second one already.  I will do the first part now.

I appreciate your help!!!

For the third part, rebooting the vm should do the same, correct?