RailsをApache+FCGIでサブディレクトリで動かす方法

config/environment.rbにて

config.action_controller.relative_url_root = "/subdir"

via RailsBaseURI not working with Rails 2.2.2 routes? – Phusion Passenger Discussions | Google グループ.

Categories: HowTo's, Tips and Tricks | Tagged , | Trackback URL |

Post a Comment

Your email is never published nor shared.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>