On Jan 12, 2005, at 8:28 AM, N. M. Buzdor wrote:
RewriteRule ^(.*)$ cmw/$1 [L] ---End snippet---
Won't this cause all the /index.php.* to be rewritten to /cmw/index.php.* internally?
I don't think it works quite that way, but it's possible. The subdomain cmw.buzdor.org has a root which is mapped (by this .htaccess) to the physical server path cmw/ relative to the root of the service package. It's my understanding that this rule maps the url http://cmw.buzdor.org/index.php?title=Main_page to the *filesystem* path /cmw/index.php and passes the same query string.
No, that's an URL rewrite which passes the new URL (eg /cmw/index.php) internally to the final request.
If you want to map the physical path directly, normally you'd use a DocumentRoot directive in the virtual host configuration.
Perhaps there's an obscure, oversensitive server variable that no other program uses to determine request URL that MediaWiki is dependent upon, and I could switch that to the traditional one in my copy of the code.
Yes, the wiki is making sure that you're not exploiting an Internet Explorer security hole as explained in another thread.
-- brion vibber (brion @ pobox.com)