I'm having trouble installing mediawiki 1.3.9 on a red hat box running Apache.
I first off installed it into a subdirectory on my host, and that worked fine.
http://s94368865.onlinehome.us/WikiMetamed/index.php?title=Main_Page
I then got a domain (www.wikimetamed.org) for the site at 1and1.com, and then since their domain tools wouldn't let me point to the existing installation, I decided to create a new install into my webroot directory.
The problem that first appeared is that I can't access the config directory. If I try, Apache says it can't find the /config/index.php file .. as though there is an existing config directory which is being searched first.
I filed a bugzilla report for this.
So, I tried renaming the config directory to wikiconfig, and then ran the wikiconfig/index.php which I now was able to access, but it did not save the LocalSettings.php file even though it claimed to do so.
So, I tried modifying the LocalSettings.php file by hand from another one I had available, and it doesn't seem to work.
Here it is here:
# This file was automatically generated by the MediaWiki installer. # If you make manual changes, please keep track in case you need to # recreate them later.
$IP = "/homepages/38/d94368847/htdocs"; ini_set( "include_path", ".:$IP:$IP/includes:$IP/languages" ); require_once( "DefaultSettings.php" );
# If PHP's memory limit is very low, some operations may fail. # ini_set( 'memory_limit', '20M' );
if ( $wgCommandLineMode ) { if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) { die( "This script must be run from the command line\n" ); } } else { ## Compress output if the browser supports it if( !ini_get( 'zlib.output_compression' ) ) @ob_start( 'ob_gzhandler' ); }
$wgSitename = "WikiMetamed";
$wgScriptPath = ""; $wgScript = "$wgScriptPath/index.php"; $wgRedirectScript = "$wgScriptPath/redirect.php";
## If using PHP as a CGI module, use the ugly URLs # $wgArticlePath = "$wgScript/$1"; $wgArticlePath = "$wgScript?title=$1";
$wgStylePath = "$wgScriptPath/stylesheets"; $wgStyleDirectory = "$IP/stylesheets"; $wgLogo = "$wgStylePath/images/wiki.png";
$wgUploadPath = "$wgScriptPath/images"; $wgUploadDirectory = "$IP/images";
... other stuff removed ...
But when I access the site
it appears to be pulling all the old path information out from the original install.
I don't know how this software works .. but I find it difficult to believe that path data is stored in the mysql tables... so what's wrong with my LocalSettings.php file .. please ???