CGI - client information

Jesper Olsen jolsen at mailme.dk
Sun Jan 5 04:53:31 EST 2003


Is it possible from a python cgi script to query the web server about
the
IP address of the client that is calling the script?

E.g. the web server could provide this info in an environment
variable.

I have a hosted web-site, and I like to see who accesses it and what
they
look at, but it seems for some reason that the web server does not log
access to the cgi directory...

Cheers
Jesper




More information about the Python-list mailing list