Mongrel can be started with a prefix e.g.
mongrel_rails start -p 3000 --prefix /foobar
So that all of the app’s URLs are prefixed, e.g.
The problem is that if you hit just the root ( http://localhost:3000/
) then mongrel responds with “NOT FOUND”.
I tried adding an index.html to RAILS_ROOT/public that redirects to /
foobar, but this results in an infinite loop.
Does anyone know how to get requests to the root to redirect to the