[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] REMOTE_HOST
- Subject: Re: [cobalt-users] REMOTE_HOST
- From: Jens Kristian Søgaard <jens@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat Mar 3 09:45:10 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi Mike,
> Does any one know why REMOTE_HOST won't work on RaQ3s? Also is there any
way
> to activate it?
The REMOTE_HOST variable is only filled, if you activate name resolution in
Apache. I would however _not_ recommend that, as it adds a small delay to
each page view.
Instead use the REMOTE_ADDR variable, which holds the IP address of the
visitor. If you really need to have it converted to a hostname, then just
resolve that ip-address (i.e. only do it, when you actually need the
information). If possible, then use offline processing.
--
Jens Kristian Søgaard, Mermaid Consulting I/S,
jens@xxxxxxxxxxxxxxxxxxxx,
http://www.mermaidconsulting.com/