Roger Chrisman wrote:
Roger Chrisman wrote:
$wgScriptPath = "wikific"; $wgArticlePath = "/$1";
I may have above wrong. If it doesn't work, try:
$wgScriptPath = "wikific"; $wgArticlePath = "$wgScriptPath/$1";
Let us know what happens.
Sorry I don't know, but maybe this in LocalSettings.php:
$wgScriptPath = "/wikific"; $wgScript = "$wgScriptPath/index.php"; $wgRedirectScript = "$wgScriptPath/redirect.php";
## If using PHP as a CGI module, use the ugly URLs # $wgArticlePath = "$wgScript/$1"; $wgArticlePath = "$wgScript?title=$1";
And this in .htaccess:
RewriteEngine on Options FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)$ /wikific/index.php?title=$1 [L,QSA]
No I'm not trying to be unhelpfully complex. I just don't really know how it works but above works for me with PHP as CGI on Linux and Apache.