I've just installed MediaWiki at
http://www.gregturner.org/wiki. As you
can see, it's got all of the link URLs wrong, including for the
stylesheet. At first, it didn't run at all, returning a 500 because the
URL redirected to
http://gregturner.org/execscriptdir/php.cgi/index.php?title=Main_Page. I
looked in LocalSettings.php and found:
$wgScriptPath = "/execscriptdir/php.cgi"
which I changed to
$wgScriptPath = "/wiki"
and then it ran, but still the links are messed up. I've had a manual
look about (but this isn't my computer and I can't batch search the
contents of files) and can't find any other mention of execscriptdir.
phpInfo stores this string on
SCRIPT_FILENAME and
SCRIPT_NAME
plus when surrounded by _SERVER[] or _ENV[]
The question: where in the code is it getting the value
"/execscriptdir/php.cgi" for every URL and where can I change it to
"/wiki"?
Thanks a lot!
G.