The problem for me is that I can get either XAMPP or the blog working, but not both together. As soon as I add the Virtual Hosts and host file lines, XAMPP fails.

I even tried two virtual hosts and entries in host file. Here is the section from httpd.conf.


ServerName blog
DocumentRoot c:/rails/blog/public/
ErrorLog c:/rails/blog/log/apache.log


Options ExecCGI FollowSymLinks
AllowOverride all
Allow from all
Order allow,deny


ServerName xampp
DocumentRoot c:/xampp/htdocs/
ErrorLog c:/xampp/apache/logs/error.log


Options ExecCGI FollowSymLinks
AllowOverride all
Allow from all
Order allow,deny

When I try to load xampp in browser, I get the Rails welcome page.
I took this from loudthinking.com because it explains exactly the problem Im having, I realise this a problem with the way the virtual hosts are being set up but I'd really like to be able to run both at the same time rather than rebooting apache every time i want to run the rails app and then a normal app inside htdocs