Article:
  Apache Web-Serving with Mac OS X: Part 2
Subject:   Messing with Python cgi...
Date:   2002-10-07 17:14:24
From:   elmlish
First I want to thank you for the great article. It's been very helpful, but since I'm trying to be an oddball and use python for my cgi's I'm having some trouble. I've gotten your examples to work, but as you'll see I'm getting an error I don't know what to do with.


I've got most of everything set up correctly (I think..)but I'm getting this error when I try to access my script via an .html file.


[Mon Oct 7 16:47:21 2002] [error] [client 127.0.0.1] Premature end of script headers: /Users/iz/Sites/py-cgi/cgitest.py


What would cause this? I'm using this same script on my hosted server, and it works fine there.. I must be missing something


Thanks for any help..Keep up the great articles...


~elmlish~