I'm using CentOS 5.5 and Apache 2.2. I just started to administrate my own dedicated server, but I think that I understand the concept of virtual hosts in Apache: I actually have to different domains (lets call em: www.myDomain1.com and www.myDomain2.com) that are both served by my server.
Now I want to use Mediawiki and would like to use it with the following Url: www.myDomain1.com/wiki. How to I do that? As far as I understand, virtual hosts are only for complete domains, but I only want "www.myDomain1.com/wiki" to serve my wiki-webpage. Here are some important information:
- DocumentRoot is "/var/www"
- "/var/www" contains three more folders: myDomain1, myDomain2, Mediawiki
- I use the Kohana Framework on both domains, which usually catches all requests and wants to map them to one of its contollers