Monday, September 10th, 2007
Running rails with mongrel for a specific sub directory
I've started using mongrel for running rails apps with apache2 and mod_proxy , it works like a charm and allows you to run multiple rails apps and mongrel instances on one server.
Your proxy setup looks like this in your httpd.conf or vhost.conf
<VirtualHost *:80>
ServerName myapp.com
ServerAlias www.myapp.com
ProxyPass /myapp http://www.myapp.com:8000/
ProxyPassReverse [...]






