I finally managed to get the Short URLs working with my installation of
MW, which is located in public_html/wikific. PHP5 is being run as a CGI
module. So the Short URL loads, but as I've read if something's "not done
properly" with the .htaccess file (in public_html) or the
LocalSettings.php, the skins/CSS files won't properly load. Can anyone
point me at what I've done wrong?
>From LocalSettings.php:
$wgScript = "$wgScriptPath/index.php";
$wgRedirectScript = "$wgScriptPath/redirect.php";
## If using PHP as a CGI module, use the ugly URLs
$wgScriptPath = "$wgScriptPath/wiki";
$wgArticlePath = "$wgScriptPath/$1";
$wgStylePath = "$wgScriptPath/skins";
$wgStyleDirectory = "$IP/skins";
$wgLogo = "$wgStylePath/common/images/wikific_logo.png";
>From public_html/.htaccess:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^wiki/(.+)$ /wikific/index.php?title=$1 [L,QSA]
Help?
-Azurite