On 6/16/05, Brion Vibber brion@pobox.com wrote:
I would strongly recommend removing the Alias definitions and all those rewrite rules and replacing them with something straightforward like:
RewriteRule ^/wiki/(.*)$ /w/index.php?title=$1 [L,QSA]
Thanks,
I realized that I was trying to build a hack on a hack. I'd hacked something before with rewrite to get 'nice' urls which strayed from other how-tos because I'd installed in wiki instead of w.
So I backed off, and renamed LocalSettings.php and "reinstalled" 1.4.5. I now have everything working except rewriting an empty uri. I have several name based virtual hosts and would like one of them to rewrite an empty uri to /wiki/Main_Page and then do a local rewrite to /w/indec.php?title=Main_Page
That's the last part that I can't seem to get working.