John Norvell wrote:
I can't get this quite right. I have
"www.mediaanthropology.net" as a add-on
of "www.johnnorvell.net" pointing to files in /public_html/mediaanthropology.
The wiki is in /public_html/mediaanthropology/wiki. I can get the wiki to
appear normally when I access it as
"www.johnnorvell.net/mediaanthropology/wiki" and have the following
LocalSettings/php lines:
$IP = "/home/johnnorv/public_html/mediaanthropology/wiki";
ini_set( "include_path", ".:$IP:$IP/includes:$IP/languages" );
require_once( "includes/DefaultSettings.php" );
[...]
$wgScriptPath = "/wiki";
but when accessing it as "www.mediaanthropology.net/wiki," which I would
prefer, I see only the unformatted output of the index page.
First, there's a lot of blank space at the top of the output. This
usually means there are blank lines at the beginning or end of
LocalSettings.php or some other file you have edited. You need to remove
this, as it can interfere with functioning of the wiki.
Second, either your $wgScriptPath or the settings based on it seem to be
set to "/mediaanthropology/wiki". This means that all links are broken
at
www.mediaanthropology.net, including links, redirects, and the style
sheets. You need to set it to a correct path.
When editing LocalSettings.php, make sure there are no blank lines at
the top or bottom of the file, and that you make set $wg* variables only
*after* including DefaultSettings.php.
-- brion vibber (brion @
pobox.com)