I have mod_python installed on my server, but if I want to acceses a python script – let’s say httü://site.com/something.py the script doesn’t run, the download box “pops up”
Any solutions?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I would consider a lightweight framework such as http://werkzeug.pocoo.org/ as it isn’t very practical in the modern day to have CGI-style python scripts.
And I would use
mod_wsgiinstead ofmod_pythonas the latter is a bit outdated.