Newbie want Python CGI on Mac OS X10.2

Mel Bohince melbohince at attbi.com
Thu Oct 31 11:47:34 EST 2002


I have a problem (many really), didn't really get too far, hope someone can
help. Maybe you can reminisce when your problems were this easy.

I got Apache/1.3.26 to run the http://127.0.0.1/cgi-bin/test-cgi that comes
preinstalled. But when I put a very simple python script:

 #!/usr/lib/python 

print """Content-type: text/html

hello world"""

and I point to http://127.0.0.1/cgi-bin/simple.py the browser replies with
an "Internal Server Error".

Any clues for the clueless?
 
-:  -:  -:  -: -:  -:  -:  -:    \|/
  -:  -:  -:  -: -:  -:  -:  -:  cU
Mel Bohince
Pjt Mgr, 
Arkay Packaging Corporation
feet at att.net
http://home.att.net/~melbohince/




More information about the Python-list mailing list