Does anybody have some working Apache mod_rewrite rules that enable Phusion Passenger (mod_rails) to use a non-default location for the page cache within a Rails application? I'd like the cached files to go in /public/cache
rather than the default of /public
.
I found the answer in this blog post:
The answer with RailsAllowModRewrite does not works, as in new versions RailsAllowModRewrite does nothing, but the passenger interaction with mod_rewrite seems to be broken.