If you’re using mongrel and want to deploy Rails to a subdirectory instead of a sub/domain (example.com/my_app instead of my_app.example.com or my_app.com), then you can use --prefix=/my_app in your mongrel startup command.
Then using Apache as a proxy, ProxyPass /my_app http://localhost:3000/my_app
One Response
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.
Tamer,
Funny… I was searching for exactly this last night, and Google pointed me to your website. Nice post!