How do I get Tornado (or in general another server) to handle the .py files on my host, while Apache still handles the php files?
Share
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’ve always configured my python scripts inside apache with mod_wsgi. I believe there’s no way to relegate to a different server the execution of some domain/filetype. Still, you can make a script to execute whenever an url is called.
You can do it in python an call it with mod_wsgi -> wsgi docs