** Start of listing of h1-python.cgi ** #! /usr/local/bin/python print "Content-type: text/plain" print import time now = time.time() print "Current GMT date/time is:" print time.gmtime(now) print "(year, m, dt, h, mi, sc, w, doy, d)" print "Local time in California is:" print time.localtime(now) print import os print "The IP number " + os.environ['REMOTE_ADDR'] + " is where your client/browser is located." print "" print "The PATH is " + os.environ['PATH'] + " currently" print "(the only environment variable common to both CGI and login)." ** End of listing of h1-python.cgi ** Here is the directory entry for that file: -rwx------ 1 rem user 507 Jun 27 2005 h1-python.cgi ^ Note user execute permission needed for all CGI scripts.