[Mediawiki-l] Translate/Rewrite beautified pretty ugly URLs-works except for special characters in article titles

Brian Carpenter hopespoppa at gmail.com
Wed May 3 14:37:43 UTC 2006


When I click on the link to
http://intranetsite.com:12843/wiki/Project_Meeting_of_02/22/06

I get the dreaded HTTP 404 Error

Using Windows2003,IIS and ISAPI Rewrite
 physical location is
c:\wiki\MediaWiki\MediaWiki-1.6.3

LocalSettings.php statements:
 - - - - - -
$wgScriptPath = "";
$wgScript = "$wgScriptPath/index.php";
$wgRedirectScript = "$wgScriptPath/redirect.php";
## For more information on customizing the URLs please see:
## http://meta.wikimedia.org/wiki/Eliminating_index.php_from_the_url
## If using PHP as a CGI module, the ?title= style usually must be used.
$wgArticlePath = "/wiki/$1";
# $wgArticlePath = "$wgScript?title=$1";
 - - - - - - - - -
 httpd.ini content is:

# Translate beautified links of wiki
RewriteRule /wiki/([^/?.]+)(?:\?(.+))? /index.php\?title=$1?2&$2: [I,L]
RewriteRule /wiki/(?=Special)([\w:]+)/([\w:]+)
/index.php\?title=$1&target=$2 [I,L]

What the %?*$/1# is goingin on?

Appreciatively again,
Brian



More information about the MediaWiki-l mailing list