Hello,
I am having trouble with routes and apache mod_proxy_balancer with
Glassfish and Jruby rails application. Can anyone share how this is
properly supposed to be setup ?
I tried doing
ProxyPass /
http://localhost:8080/myapp/
ProxyPassReverse /
http://localhost:8080/myapp/
But i get an error in glassfish server.log "No route matches
/myapp/session/new"
I tried messing with the
#ActionController::AbstractRequest.relative_url_root = "/myapp/"
#ActionController::CgiRequest.relative_url_root = "/myapp/"
but to no avail. Also i dont want /myapp/ to show up in the URL path when a
user is browsing, it seems glassfish was redirecting to /myapp/session/new
back to apache which was causing issues as well.
Any guidance here appreciated.
Thanks
Adam