Virtualhost Apache, Rails and PHP -


i trying have rails application coexist on 1 server along php page. using apache installed through passenger.

so, have created virtualhost file php page, , such:

<virtualhost *:80> serveradmin mail@mail.com servername subsite.site.com  documentroot "/var/www/subsite" <directory />     options followsymlinks     allowoverride none </directory> <directory "/var/www/subsite">     options indexes followsymlinks multiviews     allowoverride     order allow,deny     allow </directory>  </virtualhost> 

my problem mysite.site.com keep being redirected main rails site. idea?


Comments

Popular posts from this blog

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

java.util.scanner - How to read and add only numbers to array from a text file -