Chris Gansen
2006-Aug-09 21:00 UTC
[Rails] FastCGI - how to relocate dispatch.fcgi outside of rails app
Howdy. Due to a rather unique hosting setup, I need to relocate the dispatch.fcgifile to a directory outside of /path/to/application/public. The setup looks like: /path/to/content/RailsApp/ -- all application files /path/to/fcgi-bin/RailsApp/ -- dispatch.fcgi I''ve modified dispatch.fcgi to find environment.rb; however, all requests for static files (index.html, javascripts, etc) fail as not recognized. I know there has to be some special mod_rewrite incantation to fix this -- any pointers? Thanks! --chris -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060809/84989ebc/attachment.html