Summary (E = mc²) When using mongrel for rails and you want to deploy an app under /other_url then use ActionController::AbstractRequest.relative_url_root = “/other_url” in config/environments/production.rb instead of ENV['RAILS_RELATIVE_URL_ROOT'] = “/other_url” Proof (From first principals) At Vquence we have a pretty standard rails setup Apache with mod_proxy pen mongrel Silvia recently wrote an application to allow [...]
-
Recent Posts
-
Links
-
Categories
- FOSS (25)
- General (15)
- Hacks (2)
- Presentations (7)
- Programming (4)
- Sysadmin (15)
-
Twitter
- Dear #redhat it is 2010, please do something sane with your default apache config files 1 week ago
- Is Maxine sticking the knife into the party? 2 weeks ago
- Looks like #abc24 is compensating for forgetting to cross to press conferences, now by crossing to them early 2 weeks ago
- Informal vote is running at 5.46%, 1.44% up on last year. The Latham effect? #ausvotes 2 weeks ago
- Spent hours getting fighting bugs getting threads working in #ruby using Mutex and ConditionVariable then I discovered Queue #doh 2 weeks ago
- More updates...
-
Shared Blogs
-
Meta







