[Mongrel] rails url prefix (was Re: comparison... why mongrel?)
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.
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
More information about the Mongrel-users