What does the error log report ? It is *possible* that you are getting an error 500 because your are not emitting valid headers.
Try this instead : #!/usr/bin/python print 'Content-Type: text/plain\r' print '\r' import os print os.getcwd() Regards, Fuzzy http://www.voidspace.org.uk/python/index.shtml -- http://mail.python.org/mailman/listinfo/python-list