Newbie CGI Q

Will Stuyvesant hwlgw at hotmail.com
Fri Feb 21 18:10:13 EST 2003


[Ian Pellew]
> I have the preverbial works from command line but NOT via apache/http.
> 
> The basics work OK on command line and via httpd (Solaris 8)
> The moment I "import cgi" I get the "Internal Server Error"
> The cgi with import cgi is OK on the command line.
> 

Show some code please, if its big, make it smaller...hard to tell
what's going on in CGI without code.  Else you get help like this:

"You *did* start your CGI script with::

 #!/usr/bin/python
 print "Content-type: text/html"
 print

didn't you?"




More information about the Python-list mailing list