Modpython
lastmod 2026-11-10created 2015-04-232 edits
Modpython (mod_python) is a module that embeds a Python interpreter inside the Apache HTTP server. Unlike CGI, which launches an external process for every request, it runs Python code directly inside the server process, so it is fast, and it lets you plug handlers into each phase of Apache's request processing to extend server features such as authentication and filters in Python. Since the WSGI standard and mod_wsgi became established, it is rarely used.
Apache/Python Integration.