I am having some trouble getting apache to start up when I try and use a virtual host via xampp on mac os x 10.5.
In httpd-conf, I have enabled virtual hosts like this:
Include /Applications/xampp/etc/extra/httpd-vhosts.conf
Then, in httpd-vhosts.conf, I am starting with just the default virtual host (I will add more when I get it to work properly)
It looks like this:
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "/Applications/xampp/htdocs"
ServerName localhost
</VirtualHost>
However, when I try to restart apache it gives a non-descriptive error.
If disable virtual hosts, apache starts fine.
I have checked that the DocumentRoot path is valid.
Have I got something wrong?