Juan de Vojníkov wrote:
> Hi,
> 
> I have red some manuals and FAQs, but I haven't figured out, how to redirect
> my mw installation to a subdomain. Can you explain it to me? Let me give an
> example:
> 
> I have set a subdomain:* tech.foo.com* with directory */public_html/tech*.
> My provider say: "tech.foo.com is equal to foo.com/tech, so you must
> redirect it via mw". But I dont know how. As I would like to set  up wiki
> family, I prefer to redirect it to the subdomain, that the URLs look like
> tech.foo.com/index.php/~ or tech.foo.com/w/~
> 
> Thanks for help,
> Juan de Vojníkov

There's nothing to redirect. Extract mediawiki to the tech folder. That
will give you tech.foo.com/index.php/ARTICLE_NAME urls. If you also want
tech.foo.com/w/ARTICLE_NAME create a redirect rule for that.

Note: Install the wiki from  tech.foo.com/config/index.php and not from
foo.com/tech/config/index.php since mediawiki will remember the url in
which it was installed, so it's better if it gets it right the first time.


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to