Passenger2.0.6ã¨Rails2.2.2ã§Routing Error
Passenger (mod_rails) セットアップ ã§Passengerãåããã¦ã¿ããã®ã®ãroot 以ä¸ã«ã¢ã¯ã»ã¹ããã¨ã¨ã©ã¼ãçºçãã¦ããã
http://example2.com/rails/hoges
Routing Error
No route matches "/rails/hoges" with {:method=>:get}
mod_rewrite ã¨å¹²æ¸ããã¨ãã©ããã§è¦ããããã©ãããããªããªã©ã¨æ¨æ¸¬ããªããWebãæ¼ã£ã¦ã¿ãã
ä¿®æ£
Passenger ã®ãã°ã ã£ãããã ã
Passengerでのroutingerror - 流れ星ブログããæåã
config/environment.rb ã«ä¸æ追å ããã¨ããã
Rails::Initializer.run do |config| config.action_controller.relative_url_root='/rails' end