[Mediawiki-l] Get rid of index.php in URL

Zain Memon zain at voltage.com
Wed Jul 20 19:54:50 UTC 2005


Thanks, the QSA fixed the problem nicely.

As for your recommendations... I have an entire subdomain dedicated to
nothing but the wiki, and its set up as a VirtualHost in Apache. I'm
just fine with having the entire subdomain be dedicated to nothing but
the wiki. It just looks a lot nicer to have
http://wiki.subdomain.com/Main_Page than having a subdirectory or
index.php in there. Is that alright or am I committing blasphemy?

Thanks.


> -----Original Message-----
> From: mediawiki-l-bounces at Wikimedia.org [mailto:mediawiki-l-
> bounces at Wikimedia.org] On Behalf Of Brion Vibber
> Sent: Wednesday, July 20, 2005 12:59 AM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Get rid of index.php in URL
> 
> 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)



More information about the MediaWiki-l mailing list