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
Post a Comment