How do I deploy a Python project to a webserver that supports Python via CGI? I’m well versed in PHP, but do not understand CGI’s relation to Python in the deployment process.
Any resource links are appreciated.
The web host in question is GoDaddy.
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.
Generally, we use mod_wsgi to make a Python application respond to CGI.
PHP has a special role — the language runtime IS a CGI application.
Python does not have this special role. Python — by default — is not a CGI application. It requires a piece of glue to play well with Apache. mod_wsgi is this glue.