Getting python to work, Internal Server Error

后端 未结 12 1535
無奈伤痛
無奈伤痛 2021-02-08 11:07

I\'m trying to get Python scripts, called from a web browser, to work. I keep getting the error:

500 Internal Server Error

When I check my err

12条回答
  •  余生分开走
    2021-02-08 12:07

    This is the exact behavior you would get if your Python script does not have the executable permission set.

    Try:

    chmod a+x foo.py
    

    (where foo.py is your script name).

    See the Apache tutorial for more information.

提交回复
热议问题