I've tried using a rewrite rule, but (1) I couldn't find an example that exactly matches what I want, and (2) none of the ones I did try worked.
I'm afraid I don't know enough about rewrite rules to properly troubleshoot why it isn't working.
-Ed
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Schneelocke Sent: Thursday, December 06, 2007 17:01 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Short URLs
2007/12/6, Ed Melendez ed.melendez@pipelinefinancial.com:
I've been attempting for several weeks now to get my installation on Mediawiki to print its URL's as follows:
http://server.mydomain.com/wiki/index.php/Main_Page
Here is my system/setup info:
Red Hat EL 3 Apache 2.0.46 PHP 4.3.2-33 (running in module mode to Apache - I think???)
DocumentRoot "/var/www/html" Mediawiki files located in: /var/www/html/wiki
LocalSettings.php $wgScriptPath = "/wiki"; $wgScript = "$wgScriptPath/index.php"; $wgRedirectScript = "$wgScriptPath/redirect.php";
$wgArticlePath = "$wgScript/$1"; #$wgArticlePath = "$wgScript?title=$1";
Thanks in Advance, -Ed
Have you got any rewrite rules set in your .htaccess or httpd.conf? http://www.mediawiki.org/wiki/Manual:Short_URL has a bunch of info that you may find useful if not.