DenkzeitWiki

Suchen:

Aktuelle Änderungen Printable View Änderungen Bearbeiten

DenkZEIT > OopVsAdt > JonUdell > PHPSucks > PingBack > Functors > Functor > FindUses > SlickRun > AppLauncher > DenkZeit > BlogRoll > WebDesign > ReSharper > VisualStudio > KnotTying > ModPythonClear Trail
Main /

Mod Python

Apache
FastCGI
FastcgiOrModpython

PythonServerPages
PythonWeb

WebHosting

ModPythonOnHrConcepts
ModPythonHosts
mod_python logo mod_python is an Apache-module that adds the python-interpreter into the server.

mod_python, which provides an upgrade path from CGI. Mod_python embeds a Python interpreter in the Apache process. Generally a mod_python application will still start anew with each request, but with the interpreter and all the modules will already be loaded, which is the larger part of the overhead.[1]


The key thing to realise about mod_python is that it gives you full control over the whole Apache request. Unlike PHP, you're not writing scripts that just happen to use Apache as a go between - mod_python exposes a pretty big chunk of Apache's internal API, and you are expected to hook straight in to it and start doing things.

You can write your own handlers for the various parts of the Apache request.


with mod_python you have the python interpreter within apache as with mod_perl. this is faster and also allows you to access the apache api which lets you do much more things like plain CGI. [2]


Problems and Solutions


Captchas


Edit - BackLinks - Tags - Page Hist - Print - Changes - Home - Orphans - Help

Zuletzt geändert am 23.02.2008 18:40 Uhr und seit 7. April 2005 1657 aufgerufen.