Hello Bannasch-san,

> I had thought setting the ENV constant RAILS_RELATIVE_URL_ROOT would serve to 
> set ActionController::AbstractRequest.relative_url_root -- but that didn't 
> work.

This is I said.
On FastCGI process's env. and each request's env. are different.
To merge them is responsibility of the application which wants to
refer them equivalently.
And a way to merge them on rails is overriding FCGI::RecordBuffer#env.

#I can't say that this is a FastCGI's protocol bug because I am just a
new comer to world of CGI.


> RAILS_APPLICATION_PREFIX = 'app1'
> # uncomment the next line if this application is served from a directory with 
> other rails applications
> ActionController::AbstractRequest.relative_url_root = '/' + 
> RAILS_APPLICATION_PREFIX

Oops, I've never met these lines.
Is this a recent grammer of rails?


Sincerely,


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to