#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2002
    Posts
    423
    Rep Power
    14

    Apache and python


    Hi,
    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.
    Thanks
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2002
    Location
    Brisbane, Australia
    Posts
    19
    Rep Power
    0
    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.

IMN logo majestic logo threadwatch logo seochat tools logo