[Mediawiki-l] .htaccess/rewrite help for subdomain

Sy Ali sy1234 at gmail.com
Mon May 15 04:17:29 UTC 2006


On 5/14/06, Michelle <michelle.sg1 at gmail.com> wrote:
> Thanks, but don't you need to have the virtual directory separate
> from the real code directory, eg (for non-subdomain case):
>
> RewriteRule ^wiki/index.php/(.*)$ /w/index.php?title=$1 [L,QSA]
>
> Or is that not required if it's a subdomain?

All I know is that it works for me.  =)

I don't like using /w or /wiki when I can avoid it.. yes, this means
that I cannot have certain page names in my wiki because they are real
files my htdocs root.



More information about the MediaWiki-l mailing list