hello ,
I have 2 rails war files deployed into tomcat under JRuby, app1.war and
app2.war. I am trying to setup 2 virtualhosts in apache to route the
different hostnames to the war files under just / with no subdir, but
keep
getting an error like
ActionController::RoutingError (No route matches “//” with
{:method=>:get}):
Apache is setup like so
<Proxy balancer://app1/>
BalancerMember ajp://localhost:8009/app1/
<Proxy balancer://app2/>
BalancerMember ajp://localhost:8009/app2/
Then 2 virtualhosts each with
.... Servername app1.domain.com ProxyPass / balancer://app1/ ProxyPassReverse / balancer://app1/ .. Servername app2.domain.com ProxyPass / balancer://app2/ ProxyPassReverse / balancer://app2/ ...Any ideas here ?
thanks
Adam