[EMAIL PROTECTED] wrote:
>    I am trying to get the remote hostname of the browser, and everytime
> it returns an IP (i.e the same with remote_addr).

That depends on your HTTP server. If you're using the builtin WSGI
server, for example, it doesn't even try to get the remote hostname,
and supplies the IP instead (which is a bug, and should be fixed--it
should just leave out the value in that case, and
cherrypy.request.remote_host should be blank).


Robert Brewer
System Architect
Amor Ministries
[EMAIL PROTECTED]


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to