I recently installed mediawiki and got tex to work after I read INSTALL more closely to find out ocaml 3.0.6 is required :-)
Now I'm facing the "problem" that phase3 rewrites an url http://domain.tld/wiki.phtml to http://domain.tld/wiki/wiki.phtml Well this doesn't actually bother me much as long as everything gets displayed correctly BUT it doesn't find ~/upload/ anymore since it writes it as ~/wiki/upload/ and therefore doesn't show any images cause it cant find them.
When I manually remove the *superfluous* wiki from the URL it works fine.
Now I read INSTALL and README a couple of times but couldn't find a hint where I'm mistaken.
--
Manfred Mislik schrieb:
I recently installed mediawiki and got tex to work after I read INSTALL more closely to find out ocaml 3.0.6 is required :-)
Now I'm facing the "problem" that phase3 rewrites an url http://domain.tld/wiki.phtml to http://domain.tld/wiki/wiki.phtml Well this doesn't actually bother me much as long as everything gets displayed correctly BUT it doesn't find ~/upload/ anymore since it writes it as ~/wiki/upload/ and therefore doesn't show any images cause it cant find them.
I think it should work if you change $wgScriptPath in LocalSettings.php from /wiki to /
Alwin Meschede
Am Sat, 13 Dec 2003 22:34:37 +0100 hat Alwin Meschede ameschede@gmx.de geschrieben:
Manfred Mislik schrieb:
I recently installed mediawiki and got tex to work after I read INSTALL more closely to find out ocaml 3.0.6 is required :-)
Now I'm facing the "problem" that phase3 rewrites an url http://domain.tld/wiki.phtml to http://domain.tld/wiki/wiki.phtml Well this doesn't actually bother me much as long as everything gets displayed correctly BUT it doesn't find ~/upload/ anymore since it writes it as ~/wiki/upload/ and therefore doesn't show any images cause it cant find them.
I think it should work if you change $wgScriptPath in LocalSettings.php from /wiki to /
Believe it or not. It's already set to / But I didn't do it intentionally :-) Anyway, that's not the solution :(
Alwin Meschede
Wikitech-l mailing list Wikitech-l@Wikipedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
--
On Sun, 14 Dec 2003 00:26:17 +0100, Manfred Mislik wiki@tictric.net wrote:
Am Sat, 13 Dec 2003 22:34:37 +0100 hat Alwin Meschede ameschede@gmx.de geschrieben:
Manfred Mislik schrieb:
I recently installed mediawiki and got tex to work after I read INSTALL more closely to find out ocaml 3.0.6 is required :-)
Now I'm facing the "problem" that phase3 rewrites an url http://domain.tld/wiki.phtml to http://domain.tld/wiki/wiki.phtml Well this doesn't actually bother me much as long as everything gets displayed correctly BUT it doesn't find ~/upload/ anymore since it writes it as ~/wiki/upload/ and therefore doesn't show any images cause it cant find them.
I think it should work if you change $wgScriptPath in LocalSettings.php from /wiki to /
Believe it or not. It's already set to / But I didn't do it intentionally :-) Anyway, that's not the solution :(
$wgUploadPath is being set incorrectly in DefaultSettings.php, based on the default $wgScriptPath. What you need to do is copy from DefaultSettings.php, all lines which set variables which depend on $wgScriptPath, into LocalSettings.php.
-- Jerome Jamnicky (aka jeronim)
You have tried
$wgUploadPath = "{$wgServer}/upload";
From: Manfred Mislik wiki@tictric.net Reply-To: Wikimedia developers wikitech-l@Wikipedia.org Date: Sun, 14 Dec 2003 00:26:17 +0100 To: Wikimedia developers wikitech-l@Wikipedia.org Subject: Re: [Wikitech-l] (no subject)
Am Sat, 13 Dec 2003 22:34:37 +0100 hat Alwin Meschede ameschede@gmx.de geschrieben:
Manfred Mislik schrieb:
I recently installed mediawiki and got tex to work after I read INSTALL more closely to find out ocaml 3.0.6 is required :-)
Now I'm facing the "problem" that phase3 rewrites an url http://domain.tld/wiki.phtml to http://domain.tld/wiki/wiki.phtml Well this doesn't actually bother me much as long as everything gets displayed correctly BUT it doesn't find ~/upload/ anymore since it writes it as ~/wiki/upload/ and therefore doesn't show any images cause it cant find them.
I think it should work if you change $wgScriptPath in LocalSettings.php from /wiki to /
Believe it or not. It's already set to / But I didn't do it intentionally :-) Anyway, that's not the solution :(
Alwin Meschede
Wikitech-l mailing list Wikitech-l@Wikipedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
-- _______________________________________________ Wikitech-l mailing list Wikitech-l@Wikipedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org