On Mar 19, 2004, at 10:34, Brion Vibber wrote:
On Mar 19, 2004, at 10:03, Derek L. wrote:
After the configuration process, I moved the
local settings file to
main wiki
directory as specified (
http://www.mindvector.dreamhost.com/wiki/),
and followed
the link from the configuration screen. Instead of the wiki as
expected, I
recieved a 404 error in IE. Using Mozilla I went to the wiki
directory, and
found that
http://www.mindvector.dreamhost.com/wiki/ was redirected to
http://www.mindvector.dreamhost.com/wiki/index.php/Wiki/index.php and
the
message "No input file specified." is displayed.
An extra "/index.php" is being appended to your URLs for reasons
unknown. Another Dreamhost user reported the same problem:
http://mail.wikipedia.org/pipermail/mediawiki-l/2004-March/000231.html
My suggestion, which doesn't seem to have fixed it completely:
http://mail.wikipedia.org/pipermail/mediawiki-l/2004-March/000248.html
I can only assume there's something funny about Dreamhost's Apache or
PHP configuration, but I'm not sure what it is... :(
I've poked at it a little bit more...
You can get it to bring up an edit page like so:
http://www.mindvector.dreamhost.com/wiki/index.php?
title=Pagename&action=edit
but it thinks it's editing "Wiki/index.php" instead of the requested
"Pagename". I'm not sure why, but it looks like the PATH_INFO is coming
out all wrong.
Try setting this in LocalSettings:
$wgArticlePath = "$wgScript?title=$1";
and remove these lines from index.php:
if( isset( $_SERVER['PATH_INFO'] ) ) {
$title = substr( $_SERVER['PATH_INFO'], 1 );
} else {
$title = $_REQUEST['title'];
}
See if that helps...
-- brion vibber (brion @
pobox.com)