Either setting $wgServer or clearing the objectcache did the trick;
thanks very much.
Shannon
On 5/3/05, Brion Vibber <brion(a)pobox.com> wrote:
Shannon Appelcline wrote:
I seem to be getting one other minor problem in
my new MediaWiki release.
If I use
http://www.rpg.net/wiki, everything works fine.
However if I change to
http://wiki.rpg.net (also changing
$wgScriptPath from "/wiki" to "") then any pages where I type the
URL
into the URL bar on my browser work fine, but the links insert a
second index.php into every link, like this:
http://www.rpg.net/wiki/index.php/Index.php/Special:Specialpages
Any idea what I might be missing here?
First, make sure your paths are correct. From your description you
should have something like:
$wgScriptPath = "";
$wgScript = "$wgScriptPath/index.php";
$wgArticlePath = "$wgScript/$1";
Make sure that $wgScript is never empty, and that $wgScript and
$wgArticlePath's final values always begin with a / character. (Here
they expand to "/index.php" and "/index.php/$1" respectively.)
If your virtual host is not setting the ServerName variable you may see
it redirecting you to the wrong host, and you will have to also override
the autodetected $wgServer:
$wgServer = "http://wiki.rpg.net";
And to make sure the changed configuration is reflected in links in
pages, clear the objectcache table in the database:
DELETE FROM objectcache;
You can clear individual pages by adding ?action=purge to the end of the
URL.
-- brion vibber (brion @
pobox.com)
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l