python scripts with IIS

william paul williampaul28 at yahoo.com
Sat Jan 19 10:09:06 EST 2008


Hello:
 
I am trying to configure IIS to work with Python scripts:
 
I've added in the Home Directory/Configuration the .py extention and the path to the python.exe as: c:\Python24\python.exe %S %S
The python script has 1 line:
print "This is a test for python scripts with IIS"
 
When I launch the file using IE I get the message:
 
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
 
This is a test for python scripts with IIS
 
How can I remove the CGI error?
 
Thank you
 
William


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080119/8c3688b1/attachment.html>


More information about the Python-list mailing list