Howtoforge posted a guide about embedding Python In Apache2 with mod_python

This tutorial shows how to install and use mod_python on various distributions (Debian/Ubuntu, Fedora/CentOS, Mandriva, OpenSUSE) with Apache2. mod_python is an Apache module that embeds the Python interpreter within the server. It allows you to write web-based applications in Python that will run many times faster than traditional CGI and will have access to advanced features such as ability to retain database connections and other data between hits and access to Apache internals.