Apache Virtual Host with directory aliases
- by brechtvhb
I'm trying to set up a dynamic virtual host in apache with a directory alias pointing to a difirent path for every domain.
Here's what I'm trying to achive.
Say I have 2 domains:
* www.domain1.com
* www.domein2.com
I want both to point to the same index.php file (C:/cms/index.php). Now the hard part ... I want directories or certain file types…