I have XAMPP Lite installed. Apache starts well from the control panel after a clean install, however, when I append the following information to the bottom of the above mentioned file, Apache does not show "running" upon clicking "Start" in the control panel:
CODE
NameVirtualHost 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
DocumentRoot C:/xampp/htdocs/
ServerName localhost
</VirtualHost>
CODE
<VirtualHost example.local>
DocumentRoot "C:\path\to\your\site"
ServerName example.local
CustomLog "C:\path\to\your\site\logs\example.local.access.log" combined
ErrorLog "C:\path\to\your\site\logs\example.local.error.log"
<Directory "C:\path\to\your\site">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
I have modified the second bloc of code to point to my website and I have been using it under XP, I face this problem only under Vista.
This post has been edited by Autocrat: 16 Oct, 2009 - 11:44 PM