Do virtual hosts work on your XAMPP?

In my case they didn’t. What I mean when tell you this is that every simple technique I tried to setup a simple virtual hosts was completely non sense. They simply didn’t work out.

Did you managed to setup everything?

It appears so! Everything was OK. The /etc/hosts file, the httpd-vhosts.conf and the httpd.conf.

Something really important was missing …

Simply to uncomment the following line:

Include /Applications/xampp/etc/extra/httpd-vhosts.conf

Now everything’s working like a charm! After fixing this I start to realize that this problem is not Mac specific, but however …

Related posts:

  1. Flex 3 mousewheel under Mac
  2. starting cronjob on Mac
  3. Connect MySQL from Zend Server CE trough unix socket!