OK Sorry it has taken so long but this has been a mission.
I finally have mediawiki working.
Please follow the following instructions and you should end up with a working wiki.
If you still have smeserver-mediawiki installed please remove it with yum remove smeserver-mediawiki and then run the unistall.sh script.
Download and install
http://wiki.contribs.org/SME_Site_MakerRun SME_Site_Maker
[root@lab-server ~]# smesm
----------------------------------------------------------------
| SME Site Maker Script |
| |
| This script is designed to help you when create a new web site |
| under /opt directory. If you want to create a site under an |
| ibay, do not use this script. The main purpose is to automate |
| the time consuming (and sometimes confusing) process of |
| installing an application to the /opt directory. |
| |
| If you do not use SMESiteMaker you must create the dir, conf |
| files, and DB configs manually from the command line. |
| |
| With SMESiteMaker, you only have to answer the questions in |
| the wizard. |
| |
| WARNING: Never use white spaces in names or directories! |
| |
| If you feel confortable with the above then press enter, if |
| not press Ctrl+C to abort the configuration script. |
| |
----------------------------------------------------------------
Press enter to continue
------------------------------------------
Please enter the directory name where you
want to add your site files.
The directory is created under /opt dir.
------------------------------------------
Enter dir name: mediawiki
------------------------------------------------
Please enter an alias name to access your site.
Example:
http://your-domain/alias If you do not provide a name, then alias will
be: (mediawiki).
------------------------------------------------
[Alias Name] - (mediawiki):
------------------------------------------------
Do you want to use and force SSL at your site?
This is used to force secure http (https).
------------------------------------------------
[Y/N] - (N):
------------------------------------------------
Do you want to allow directory index?
With this directive, you can see the contents of
your site if no index file is available.
------------------------------------------------
[Y/N] - (N):
------------------------------------------------
Do you want to set AllowOverride to All?
With this directive, apache can process .htaccess
files in your site dir.
------------------------------------------------
[Y/N] - (Y):
------------------------------------------------
Do you want to execute PHP scripts?
------------------------------------------------
[Y/N] - (Y):
------------------------------------------------
Do you want to set allow_url_fopen directive?
With this directive, your php scripts can access
and execute remote files. Turn it only if you
know what you are doing.
------------------------------------------------
[Y/N] - (N):
------------------------------------------------
If you have eaccelerator, do you want to enabled
for this directory?
------------------------------------------------
[Y/N] - (Y):
------------------------------------------------
Do you want to allow register_globals directive?
Turn it only if you know what you are doing.
------------------------------------------------
[Y/N] - (N):
------------------------------------------------
Do you want to modify open_basedir restriction?
Default give php access only to local siteroot: (/opt/mediawiki)
Use with care, this is a security risk
------------------------------------------------
[Y/N] - (N):
------------------------------------------------
Do you want to execute CGI scripts?
------------------------------------------------
[Y/N] - (Y): CREATE YOUR DB HERE
------------------------------------------------
Do you want to configure a MySQL Database?
------------------------------------------------
[Y/N] - (N):
------------------------------------------------
Please enter a name for this configuration.
------------------------------------------------
Configuration name: mediawiki
------------------------------------------------
Please wait....
------------------------------------------------
Restarting httpd-e-smith [ OK ]
=====================================================
Congratulations! You have configured the hosting
environment for your site.
Access your site at
http://your_domain/mediawiki and read your site configuration.
Then you must delete index.html file for security
and copy you site files under /opt/mediawiki.
Press enter to finish
=====================================================
[root@lab-server ~]#
Download New version of Mediawiki from.
http://www.mediawiki.org/wiki/DownloadUnzip the files downloaded and copy them into the /opt/mediawiki folder
Go to
http://www.mediawiki.org/wiki/Extension:PwAuthPlugin#Download_the_ExtensionAnd create a PwAuthPlugin.php file in the extensions directory
I have to change line 23:
require_once('AuthPlugin.php');
to:
require_once('./includes/AuthPlugin.php');
Go to
http://yourdomain.com/mediawiki/Follow the instructions to complete the install
Download the LocalSettings.php and place it in /opt/mediawiki
Add
require_once("./extensions/PwAuthPlugin.php");
$wgAuth = new PwAuthPlugin();
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['read'] = true;
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['createpage'] = false;
$wgGroupPermissions['*']['createtalk'] = false;
$wgShowIPinHeader = false; # For non-logged in users
to the bottom of the LocalSettings.php as explained at
http://www.mediawiki.org/wiki/Extension:PwAuthPlugin#Download_the_ExtensionGo to
http://yourdomain.com/mediawiki and you should be able to log in using your standard SME user account information.
Please report back with any issues or if this works as we will update the wiki with these instructions.
Thanks
Tony