Thanks for the fast response. I'll give all this a try when I get to
work tomorrow; I do know the web install complained of an older version
of PHP, but I was unable to find the latest version as an .rpm, so went
with the default.
And thanks for the fine software; it's very impressive.
brad
Brion Vibber wrote:
On May 4, 2004, at 18:07, The Centerfielder wrote:
I've installed MediaWiki on an ISP's
servers and had no trouble.
Recently
I built a RedHat box for an internal wiki at work, and URLs of the form
http://internal.domain/index.php/Main_Page
result in a 404 error. I've applied the suggested RewriteEngine rules
specified at
http://meta.wikipedia.org/wiki/Apache_config#mod_rewrite to
a .htaccess file where index.php is, but that didn't help. Any
suggestions?
Some PHP configurations don't allow using extended path information
after the script name; in particular when configured as CGI or
'apache2handler' it will fail. The (web-based) install tries to detect
known-bad configurations, but it might have missed yours or if you
installed 1.2.4 it won't have had the apache2handler detection in yet.
Add this to LocalSettings.php:
$wgArticlePath = "$wgScript?title=$1";
and if necessary this:
$wgUsePathInfo = false;
Now make sure your rewrite configuration is using the long-form URLs for
the destination (/index.php?title=Main_Page)
Can you run the following short script to check if it's something new we
have to check for?
<?php print "PHP server API is: " . php_sapi_name(); ?>
-- brion vibber (brion @
pobox.com)