[Zope] Server Name

Dieter Maurer dieter at handshake.de
Thu Apr 29 18:37:58 EDT 2004


Asad Habib wrote at 2004-4-29 11:54 -0400:
>Hello. I am using REQUEST.SERVER_NAME to fetch the canonical name of the
>machine that Zope is running on but 'localhost' is returned instead. Does
>anyone know why this is happening? Any help would be greatly appreciated.

It is derived from the IP address Zope is listening at
by "socket.gethostbyaddr".

-- 
Dieter



More information about the Zope mailing list