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

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

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