On Tue, Jul 22, 2008 at 11:33 AM, Jon Welters <jwelters(a)gmail.com> wrote:
All,
I've managed to get short urls working in the form of
http://wiki.com/articlename . However I'm experiancing a slight issue with
the fact that for some reason everything works except for system functions
such as Logging in or out. I'm assuming there's a scripting variable set
wrong.
From LocalSettings.php
The URL base path to the directory containing the wiki;
## defaults for all runtime URL paths are based off of this.
$wgScriptPath = "http://beta:8000";
$wgScriptExtension = ".php";
$wgScript = "";
#Added for short URL
$wgArticlePath = "/$1";
Apache Configuration
# allows people to use the old syntax.... surprisingly it works. I still
experiencing the same scripting issue with or without this rule
Redirect /index.php
http://ii:8000
Alias /skins /var/www/beta/skins
Alias /index.php /var/www/beta/index.php/
Alias / /var/www/beta/index.php/
Any help would be greatly appreciated. This short URL scheme seems to work
pretty well, aside from the obvious issue.
--
Thank You and Sincerely,
Jon
$wgScriptPath looks strange. As far as I know, it's supposed to be a path
relative to the Web root, not a hostname.