Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Short URLs

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


jwelters at gmail

Jul 22, 2008, 8:33 AM

Post #1 of 1 (434 views)
Permalink
Short URLs

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
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.