On 23-07-2008, Tibor Arpas wrote:
> Reverse DNS lookup is THE reason. Thank you very much Irmen. I put my
> remote computer into windows/system32/drivers/etc/hosts and the
> problem disapeared. The DNS name is indeed in the log which is written
> to the console. Thanks again.
>
> Is there a way to disable the reverse DNS lookup in the
> wsgiref.simple_server? Quick googling didn't reveal much.
I had this kind of problem on windows, try this :
def getfqdn(name=''):
return name
import socket
socket.getfqdn=getfqdn
--
William Dodé - http://flibuste.net
Informaticien indépendant
_______________________________________________
Web-SIG mailing list
[email protected]
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com