June 10th, 2002, 05:53 AM
Apache and python
I recently installed Apache 1.3.24 on windows but I cannot run python scripts. I changed the httpd.conf file to read .py extensions (AddHandler cgi-script .py) but when I run them I get an internal server error 500 and the error log says:
couldn't spawn child process.
I have no experience with apache, so I would be grateful if anyone helped me with the problem.
June 15th, 2002, 02:17 AM
This registry file might help: http://www.faqts.com/knowledge_base/.../1374/fid/266.
Ensure that your python scripts are in your cgi-bin directory and uncomment/add the line ScriptInterpreterSource registry. This way you want need the python shebang line.
This is my first non-question post.