I'm using Xampp (Apace 2.2.20) on mac os lion for development. I have a number of CMS projects and i want to access them by going to cms1.localhost, cms2.localhost, cms3.localhost etc
Currently, with the setup I have below, all requests to the server are resolved by whichever virtual host i put first in the configuration, ie currently (/Applications/XAMPP/migration/trunk).
Can anyone please point me in the right direction please. I can't think what else to do in terms of debug etc so that help would be useful too. Thanks a lot.
<VirtualHost *:80>
ServerName localhost
DocumentRoot "/Applications/XAMPP/migration/trunk"
</Virtualhost>
<VirtualHost *:80>
ServerName rix.localhost
DocumentRoot "/Applications/XAMPP/projects/giving"
</Virtualhost>
In /etc/hosts I have:
127.0.0.1 localhost
127.0.0.1 rix.localhost