3.1.5 Multiple PSE Instances per Web-Server

Multiple PSE instances can be run within the same Apache server using the PythonInterpPerDirective or PythonInterpPerDirectory directives. Each interpreter can have a separate PythonOption, PythonOptimize and PythonPath directives.

Note: Each PSE instance must run in its own interpreter instance, separate from any other mod_python handlers. This is because PSE significantly alters the runtime environment in ways that may be unexpected in other handlers.

See the mod_python documentation for more information.