[Mediawiki-l] Short URLs

Schneelocke schneelocke at gmail.com
Thu Dec 6 22:00:46 UTC 2007


2007/12/6, Ed Melendez <ed.melendez at 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.

-- 
schnee



More information about the MediaWiki-l mailing list