Zain Memon wrote:
Thanks, that was exactly what I was looking for. However, I'm having one problem. I used the Kludge method from the page http://meta.wikimedia.org/wiki/Using_a_very_short_URL
That's a bad idea -- I strongly recommend against doing this as it fills your entire URL namespace with the wiki. This will break legitimate files unless you add exceptions, and make it impossible to have wiki pages with titles conflicting with those exceptions. It may cause strange errors for use with actual files that you forgot to except.
The URL space for the wiki pages should *always* appear as a 'subdirectory', not the root URL, for compatibility and safety.
and it seems to be working okay, except for one thing: Searches don't work.
Your rewrite rules must include [QSA] for the query string to be passed through.
-- brion vibber (brion @ pobox.com)