Displaying 1 result from an estimated 1 matches for "secondhost".
2006 Jan 07
0
rails behind multiple proxies
...ts. I have done little work with this sort of thing before so I
was hoping to get more input from someone on this list.
When multiple proxies have serviced a request the
HTTP_X_FORWARDED_HOST environment variable is created and looks like
this:
HTTP_X_FORWARDED_HOST = "www.firsthost.org, www.secondhost.org"
In this case the browser requested a url from www.firsthost.org, which
then forwarded this request to www.secondhost.org which then forwarded
this to the rails application (perhaps hosted via webrick or
lighttpd).
When ActionController::redirect_to is called in this scenario an error
oc...