django is a popular python framework to build web apps and web site development. Here I will demonstrate how we can setup a project to serve with Apache mod_wsgi.
Tag Archives: Apache
Redirect HTTP to HTTPS
Its important to have your site running with HTTPS i.e secure HTTP connection.It helps in securing your site as well as SEO point of view. If we have root access to your server and can edit Apache configuration file the the simplest method is to add below lines to your virtualhost configuration.
Running PHP-FPM with Apache2.4/mod_proxy_fcgi
Apache2.4 does not support mod_fastcgi, the alternate option is to run php-fpm with mod_proxy_fcgi. On Ubuntu you need to enable mod_proxy and mod_proxy_fcgi. We can now configure apache to run php-fpm as below