I am using Xampp (Apace 2.2.20) for mac os lion for development. I have several 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, everything goes to everything in the first directive of virtual hosts, i.e. (/ Applications / XAMPP / migration / trunk).
Can someone point me in the right direction. I canβt think of what else to do in terms of debugging, etc., so that help will also be useful. Thank you very much.
<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
source share