Configuring Apache or PWS to run Python cgi scripts

Steve Hunter Steve at HOSYS.com
Sun May 30 09:44:13 EDT 1999


Hello,
 When I try to run cgi.py via Apache on Windows I get an error message:
---
Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, you at your.address and inform them of
the time the error occurred, and anything
you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/1.3.6 Server at dell Port 80
---
The access log:

208.120.103.76 - - [29/May/1999:23:36:14 -0400]
"GET /cgi-bin/cgi.py HTTP/1.0" 500 584

The error log:

[Sat May 29 23:36:14 1999] [error] [client 208.120.103.76]
(2)No such file or directory: couldn't spawn
child process: c:/apache/cgi-bin/cgi.py

note....c:\apache\cgi-bin\cgi.py is correct

When I run it using WPS the cgi script is displayed as text vs. executing (I
did set it
up...I think...according the the Python FAQ)









More information about the Python-list mailing list