Help with NameVirtualHost


Can someone help with Apache2 configuration?

What I want to have is for “http://myipaddress/myrailsapp” to bring
up myrailsapp. My apache 2 is already serving up php apps, and I
don’t want to clobber those. Thanks!



This works for me:

#Listen 80
Listen myport

ServerName myipaddress:myport

ServerName myipaddress:myport DocumentRoot /path_to_myrailsapp/public/ ErrorLog /path_to_myrailsapp/log/server.log Options ExecCGI FollowSymLinks AllowOverride all Allow from all Order allow,deny