The Apache HTTP Server is a widely deployed web server that can be used in combination with a WSGI module, such as mod_wsgi or a stand-alone WSGI server to run Python web applications.
Apache remains the most commonly deployed web server with a reign of 20+ years. Its wide usage contributes to the large number of tutorials and open source modules created by developers for anyone to use.
Apache's development began in mid-1994 as a fork of the NCSA HTTP Server project. By early 1996, Apache overtook the previously dominant but suddenly stagnant NCSA server as NCSA's progress stalled due to signficantly reduced development attention.
The official project documentation page contains a section with How-Tos and Tutorials to handle authentication, security and dynamic content.
Reverse proxies shows
how to set up Apache as a reverse proxy using mod_proxy
.
Apache Web Server on Ubuntu 14.04 LTS explains how to install Apache on Ubuntu 14.04, which is still a supported release. Note however, do not install mod_python because it is now insecure and made obsolete by mod_wsgi and WSGI servers.
Deploy Django on Apache with Virtualenv and mod_wsgi provides instructions for what packages to install to get Apache up and running with mod_wsgi on Ubuntu.
Apache and mod_wsgi on Ubuntu 10.04 is an older post that shows how to set up Apache on the now out-of-support Ubuntu 10.04 LTS release. This setup isn't recommended in 2016 and beyond but if you are already using 10.04 as your base operating system you might need to reference this material.
Searching for a complete, step-by-step deployment walkthrough? Learn more about The Full Stack Python Guide to Deployments book.