Using Apache ProxyPass to redirect requests to mongrel server obscuring the mongrel port and loading a default Ruby on Rails model.

Must run mongrel_rails using sudo on Mac OS X Leopard Server
rails_app $ sudo mongrel_rails start --prefix /field_management_system -d

Apache setup:
Create <Location> directive/"realm" in serveradmin,
Add lines for ProxyPassReverse with BalancerMember http://127.0.0.1:3001/field_management_system

Rails app configuration.
In routes.rb add a regular route for events model.
map.connect '', :controller => "events", :action => "list"
Delete the file index.html in rails_app/public

Comments

Popular posts from this blog

Calculating total interest accrued while paying down the simple interest loan periodically.

A list of "All-Weather" tires with the Mountain/Snowflake symbol and where to get them

New annoyances: Windows 7 and Bluetooth enabled devices.