Hi Brion,
Thanks for your reply.
After following your suggestion of switching to "ugly urls", the mapping is now fairly clear. I'll give one of the free IIS URL rewriting plugins a spin tomorrow and see if I can get nice URLs working under ISS.
Cheers, Graham
On 9/8/05, Brion Vibber brion@pobox.com wrote:
Graham Glass wrote:
Before shifting to Apache, I'll have a quick go at getting it running
under
IIS.
It would be useful to know at least the basics of how an initial call to index.php gets redirected to index.php/Main_Page. I have a development background,
so
I can plough through the PHP source code, but a little prod in the right direction would be greatly appreciated.
It's redirected with an HTTP location header (you can watch this in any packet sniffer or in-application HTTP protocol display such as the Live HTTP Headers extension on Firefox).
If you mean, why's it redirected and how is the target URL determined: the title given in the URL is non-canonical (none given where Main_Page expected) so the canonical URL is formed and sent as a redirect target.
Article view URLs are constructed from $wgArticlePath. Please see LocalSettings.php and DefaultSettings.php.
-- brion vibber (brion @ pobox.com http://pobox.com)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l