A Python Module for the Apache 2 Web Server
mod_python allows embedding Python within the Apache HTTP server for a
considerable boost in performance and added flexibility in designing
Web-based applications.
Apache processes requests in stages (for example: read the request,
parse headers, check access, and so on). These stages can be
implemented by functions called handlers. Traditionally, handlers are
written in C and compiled into Apache modules. mod_python provides a
way to extend Apache functionality by writing Apache handlers in
Python. For a detailed description of the Apache request processing
process, see the Apache API notes.
For most programmers, the request and the authentication handlers
provide everything required. To ease migration from CGI and Httpdapy,
two handlers are provided that simulate these environments, allowing a
user to run scripts under mod_python with (for the most part) no
changes to the code.
mod_python originated from a project called Httpdapy. For a long time,
Httpdapy was not called mod_python because Httpdapy was not meant to be
Apache-specific. Httpdapy was designed to be cross-platform and was
initially written for the Netscape server.
Usage Hints:
To load mod_python into Apache, add it to APACHE_MODULES in
/etc/sysconfig/apache2. The configuration is described in
/usr/share/doc/packages/apache2-mod_python/doc-html/index.html.
- Sources inherited from project SUSE:SLE-12:GA
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout SUSE:SLE-12:Update/apache2-mod_python && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
apache2-mod_python.changes | 0000032522 31.8 KB | |
apache2-mod_python.spec | 0000004601 4.49 KB | |
mod_python-3.5.0.tar.bz2 | 0000428563 419 KB |
Latest Revision
unmakeoriginolder vrev update
Comments 0