[Mongrel] rails url prefix (was Re: comparison... why mongrel?)
Ross Singer
ross.singer at library.gatech.edu
Tue Apr 10 22:37:11 EDT 2007
Actually, there's a little more to it than that if you want your
public directory to work.
See:
http://www.ralree.info/2006/6/15/successful-settings-for-apache-forwarding-to-mongrel
-Ross.
On 4/10/07, Grant Hollingworth <grant at antiflux.org> wrote:
> * "Michael P. Soulier" <msoulier at digitaltorque.ca> [2007-04-10 12:55]:
> >As a side-question, does anyone know how to make Rails compose URLs properly
> >without using --prefix in mongrel?
>
> Add this to environment.rb:
> ActionController::AbstractRequest.relative_url_root = "/blah"
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>
More information about the Mongrel-users
mailing list