[Rails] Re: Re: Multiple rails apps to appear as one app

Jo Vermeulen jo.vermeulen at gmail.com
Thu Dec 15 19:38:30 GMT 2005


Patrick Hurley wrote:
> On 12/14/05, Jo Vermeulen <jo.vermeulen at gmail.com> wrote:
>>
>> Rails at lists.rubyonrails.org
>> http://lists.rubyonrails.org/mailman/listinfo/rails
>>
> 
> You can set the relative url_root...
> 
> ActionController::AbstractRequest.relative_url_root = "/my_app_root"
> 
> Does that help?
> pth

No I already tried that.

Well in fact, maybe what I'm doing isn't quite clean. So I have fixed it 
by creating a separate document root for my blog. My homepage is now 
located at the main domain, and my blog at a blog subdomain.

Thanks for your answer!

-- Jo

-- 
Posted via http://www.ruby-forum.com/.


More information about the Rails mailing list