Viewing posts tagged apache
We're going to create a simple, locally-deployed Django 2.0 web site here. Django is a backend web application framework for Python and is deployed using WSGI - the Python Web Services Gateway Interface. The Django code is essentially the controller in an MVC-style web application in which the models and views are supplied by the developer.
In order to put up a python3 application on apache with mod_fastcgi I turned to the flup fastcgi-to-wsgi adapter which is also used by the django project for fastcgi deployment.
I needed to put up a python3 application on apache but had a python2/mod_python application that I couldn't touch, and since python2/mod_python and python3/mod_wsgi didn't play together (even with mod_wsgi in daemon mode), I used python3 with mod_fastcgi.