[Mediawiki-l] $wgArticlePath when using CGI

Rowan Collins rowan.collins at gmail.com
Tue Jan 17 04:18:05 UTC 2006


On 17/01/06, Graeme Canivet <gjcanive at uwaterloo.ca> wrote:
> I wondered why you must use ugly URLs with the CGI module...?

Dunno. Bad voodoo, I guess.

> Also, I wondered how the rewrite $wgArticlePath = "$wgScriptPath/$1"
> works....

This is a rewrite Apache does automatically for appropriate scripts,
without the need for any specific setup - since a script can't also be
a directory, the name is unambiguous, so if Apache didn't treat it
specially, it would be a 404 anyway.

--
Rowan Collins BSc
[IMSoP]



More information about the MediaWiki-l mailing list