MediaWiki: Difference between revisions

From code/src wiki
Jump to navigationJump to search
(Created page with "== Secure Login == mediawiki sends plain-text passwords over the network by default. Use the following extension to enable SSL for the login page. Extract the FIXME file into …")
 
No edit summary
Line 3: Line 3:
mediawiki sends plain-text passwords over the network by default.  Use the following extension to enable SSL for the login page.
mediawiki sends plain-text passwords over the network by default.  Use the following extension to enable SSL for the login page.


Extract the FIXME file into the /var/lib/mediawiki/extensions directory, then insert the following into your /etc/mediawiki/LocalSettings.php file:
Extract the [https://www.codesrc.com/files/SecureLoginPage.tar.gz SecureLoginPage.tar.gz] file into the /var/lib/mediawiki/extensions directory, then insert the following into your /etc/mediawiki/LocalSettings.php file:


  require_once("$IP/extensions/SecureLoginPage/SecureLoginPage.php");
  require_once("$IP/extensions/SecureLoginPage/SecureLoginPage.php");

Revision as of 23:45, 26 May 2011

Secure Login

mediawiki sends plain-text passwords over the network by default. Use the following extension to enable SSL for the login page.

Extract the SecureLoginPage.tar.gz file into the /var/lib/mediawiki/extensions directory, then insert the following into your /etc/mediawiki/LocalSettings.php file:

require_once("$IP/extensions/SecureLoginPage/SecureLoginPage.php");

_Note:_ An SSL-enabled VirtualHost is required in your Apache config.

Original code obtained from the code examples of the book MediaWiki by Daniel J. Barrett.