On 7/13/05, Rick DeNatale <rick.denatale(a)gmail.com> wrote:
Brion,
I tried that, and I lost my stylesheets. I think that it's because
all of the variables that got set in DefaultSettings.php based on what
IT set $wgScriptPath to (i.e. /wiki)
Here's what I now have in my LocalSettings.php and it seems to work
with Brion's Alias directive (which I needed to put outside of the
VirtualHost directive
$wgArticlePath = "/wiki/$1";
$wgScriptPath = "/w";
#The following are copied from includes/DefaultSettings.php because
# they depend on $wgScriptPath which has just been changed from "/wiki"
# to "/w"
$wgScript = "{$wgScriptPath}/index.php";
$wgRedirectScript = "{$wgScriptPath}/redirect.php";
$wgStylePath = "{$wgScriptPath}/skins";
$wgStyleSheetPath = &$wgStylePath;
# I had these set to images from before, did it change in DefaultSettings
# before from images to upload?
$wgUploadPath = "{$wgScriptPath}/images";
$wgUploadDirectory = "$IP/images";