Configure Python CGI failed

Chris Gonnerman chris.gonnerman at newcenturycomputers.net
Wed Nov 14 08:27:34 EST 2001


----- Original Message -----
From: "Kick" <store_li at sina.com>


> I use the follwing envioment to run pythin CGI:
>
> Windows 98
> Apache 1.3.22
> Active Python 2.11
>
> I change the document root setting to my own directory. And add ExecCGI
> option to that directory description. finally I changed AddHandle
statement
> to .cgi .py.

So far, so good...

> When I try to execute a program located in my document root, the IE said
> "Internel Error"

First of all, you should REALLY post the entire error message (cut and paste
is marvelous).  I suspect I know which message you are referring to,
though...

You need to find out where Apache is keeping it's error log (httpd.error_log
to be precise) and read it.  Most likely your Python script is dumping a
traceback and it's going into the error log.







More information about the Python-list mailing list