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! Stephen
This works for me:
#Listen 80
Listen myport
#ServerName www.example.com:80
ServerName myipaddress:myport
<VirtualHost myipaddress:myport>
ServerName myipaddress:myport
DocumentRoot /path_to_myrailsapp/public/
ErrorLog /path_to_myrailsapp/log/server.log
<Directory /path_to_myrailsapp/public/public/ >
Options ExecCGI FollowSymLinks
AllowOverride all
Allow from all
Order allow,deny
</Directory>
</VirtualHost>
--
Posted via http://www.ruby-forum.com/.