I am building a ruby on rails app. After I successfully built and tested
it in development environment, I used Capistrano to deploy it to a
different machine with pretty much same configuration. The server is a
Ubuntu linux box running Apache 2 and mongrel cluster. The application
is deployed using Capistrano.
Even if I shut down mongrel cluster, and I open the root url of my site
in a browser (e.g www.mywebsite.com), apache still serves up content . I
don’t know where it is getting it from. It seems like a cached version.
I’m expecting it to give me an error saying that Mongrel is down (or
something like that)
Similarly, when mongrel cluster is running, and I open the root url in
browser, still the STALE content is served rather than newer content
(which I know should be displayed).
I want www mywebsite com to use routing to get data from
www mywebsite com/mycontroller/myaction
If I open the complete url (including controller and action), then
correct content is served up. Note that this problem happens only in
Earlier I thought this was a routing error. But I’ve made sure that
correct routing is in place. Any pointers/help is really appreciated.