Hi,
On 19/08/14 21:14, McHenry wrote:
> On the site I would like to display the domains name that was used.
> How can I obtain the name of the domain that the user entered to
> access my site?
„used“ as in „supplied by the browser?“ One could forge a request with
Host header set to 'example.com'
I am proposing to have multiple domain name pointing towards a single site.
On the site I would like to display the domains name that was used.
How can I obtain the name of the domain that the user entered to access my
site?
Thanks in advance...
--
You received this message because you are su
Hey everyone,
How do I do a before_filter @request.env['HOST'] = "somesite.com" and
tell it to display a different layout based on the requested domain?
Thanks,
Sean McGilvray
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
3 matches
Mail list logo