XAMPP and virtual hosts on Mac

submit to reddit

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. starting cronjob on Mac
  2. Flex 3 mousewheel under Mac
  3. Connect MySQL from Zend Server CE trough unix socket!

You are a GREAT developer? Click here to answer the weekly quiz!

This entry was posted in web development and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">