From: Jeremy Kemper Date: 2005-11-20T13:36:00+09:00 Subject: Re: Environment Variable for Ruby on Rails -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Nov 19, 2005, at 8:07 PM, TomRossi7 wrote: > Is there an entry in the request.env hash for the host header? request.host is the method you're looking for. See the docs for AbstractRequest for some other convenient methods such as subdomains and remote_ip (which resolves proxied addresses for you.) Regards, jeremy -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (Darwin) iD8DBQFDf/0oAQHALep9HFYRAlMCAKCqQrXgwo0xosMZWW7fL9xayTDsRACcCI+N S8ZDSVQC6Ml01VsPd5NQQfM= =AxT9 -----END PGP SIGNATURE-----