mod_wsgi
Project Status
Security Issues
Getting Started
Requirements
Installation
Troubleshooting
User Guides
Quick Installation Guide
Apache Requirements
Python Requirements
Unpacking The Source Code
Configuring The Source Code
Building The Source Code
Loading Module Into Apache
Restart Apache Web Server
Cleaning Up After Build
Installation On MacOS X
Install Xcode command line tools
Configuring and building mod_wsgi
Installing the mod_wsgi module
Quick Configuration Guide
WSGI Application Script File
Mounting The WSGI Application
Mounting At Root Of Site
Delegation To Daemon Process
Debugging Any Problems
Configuration Guidelines
The WSGIScriptAlias Directive
The Apache Alias Directive
Application Configuration
User Authentication
Hosting Of Static Files
Limiting Request Content
Defining Application Groups
Defining Process Groups
Installation Issues
Missing Python Header Files
Lack Of Python Shared Library
Multiple Python Versions
Using ModPython and ModWsgi
Python Patch Level Mismatch
Mixing 32 Bit And 64 Bit Packages
Unable To Find Python Shared Library
GNU C Stack Smashing Extensions
Undefined ‘forkpty’ On Fedora 7
Missing Include Files On SUSE
Apache Maintainer Mode
Configuration Issues
Location Of UNIX Sockets
Application Issues
Access Rights Of Apache User
Secure Variants Of UNIX
Application Working Directory
Application Environment Variables
Timezone and Locale Settings
User HOME Environment Variable
Application Global Variables
Writing To Standard Output
Reading From Standard Input
Registration Of Signal Handlers
Pickling of Python Objects
Expat Shared Library Conflicts
MySQL Shared Library Conflicts
SSL Shared Library Conflicts
Python MD5 Hash Module Conflict
Python ‘pysqlite’ Symbol Conflict
Python Simplified GIL State API
Reloading Python Interpreters
Multiple Python Sub Interpreters
Memory Constrained VPS Systems
OpenBSD And Thread Stack Size
Python Oracle Wrappers
Non Blocking Module Imports
Frequently Asked Questions
Apache Process Crashes
HTTP Error Responses
HTTP Error Log Messages
Application Reloading
Execution Environment
Access Control Mechanisms
Checking Your Installation
Apache Build Information
Apache Modules Loaded
Global Accept Mutex
Python Shared Library
Python Installation In Use
Embedded Or Daemon Mode
Sub Interpreter Being Used
Single Or Multi Threaded
Debugging Techniques
Apache Error Log Files
Displaying Request Environment
Tracking Request and Response
Poorly Performing Code
Error Catching Middleware
Python Interactive Debugger
Browser Based Debugger
Debugging Crashes With GDB
Extracting Python Stack Traces
Processes And Threading
WSGI Process/Thread Flags
Multi-Processing Modules
The UNIX ‘prefork’ MPM
The UNIX ‘worker’ MPM
The Windows ‘winnt’ MPM
The mod_wsgi Daemon Processes
Sharing Of Global Data
Python Sub Interpreters
Building A Portable Application
Reloading Source Code
Embedded Mode Vs Daemon Mode
Reloading In Embedded Mode
Restarting Apache Processes
Reloading In Daemon Mode
Restarting Daemon Processes
Monitoring For Code Changes
Restarting Windows Apache
Virtual Environments
Location of the Virtual Environment
Virtual Environment and Python Version
Daemon Mode (Single Application)
Daemon Mode (Multiple Applications)
Embedded Mode (Single Application)
Embedded Mode (Multiple Applications)
Adding Additional Module Directories
Access Control Mechanisms
HTTP User Authentication
Apache Authentication Provider
Apache Group Authorisation
Host Access Controls
File Wrapper Extension
Example Of Wrapper Usage
Addition Of Content Length
Existing Content Length
Restrictions On Optimisations
Registering Cleanup Code
Cleanup At End Of Request
Cleanup On Process Shutdown
Assorted Tips And Tricks
Determining If Running Under mod_wsgi
Issues With Pickle Module
Packing And Script Reloading
Unpacking And Module Names
Summary Of Limitations
Issues With Expat Library
The Dreaded Segmentation Fault
Verifying Expat Is The Problem
Mismatch In Versions Of Expat
Expat Version Used By Apache
Expat Version Used By Python
Combining Python And Apache
Updating System Expat Version
Configuration
WSGIAcceptMutex
WSGIAccessScript
WSGIApplicationGroup
WSGIAuthGroupScript
WSGIAuthUserScript
WSGICallableObject
WSGICaseSensitivity
WSGIDaemonProcess
WSGIImportScript
WSGILazyInitialization
WSGIPassAuthorization
WSGIProcessGroup
WSGIPythonEggs
WSGIPythonHome
WSGIPythonOptimize
WSGIPythonPath
WSGIRestrictEmbedded
WSGIRestrictProcess
WSGIRestrictSignal
WSGIRestrictStdin
WSGIRestrictStdout
WSGIScriptAlias
WSGIScriptAliasMatch
WSGIScriptReloading
WSGISocketPrefix
Finding Help
Reporting Bugs
Contributing
How to make a donation
How else can you donate
How are donations used
Source code contributions
Open Source free loaders
Source Code
Release Notes
Version 4.5.24
Bugs Fixed
Version 4.5.23
Bugs Fixed
Version 4.5.22
Bugs Fixed
Version 4.5.21
Bugs Fixed
Features Changed
Version 4.5.20
Bugs Fixed
Version 4.5.19
Features Changed
Version 4.5.18
Features Changed
Version 4.5.17
Bugs Fixed
Version 4.5.16
Bugs Fixed
New Features
Version 4.5.15
Bugs Fixed
Version 4.5.14
Bugs Fixed
New Features
Version 4.5.13
New Features
Version 4.5.12
Bugs Fixed
New Features
Version 4.5.11
Bugs Fixed
Version 4.5.10
Bugs Fixed
Version 4.5.9
Bugs Fixed
Version 4.5.8
Bugs Fixed
New Features
Version 4.5.7
Bugs Fixed
New Features
Version 4.5.6
Bugs Fixed
New Features
Version 4.5.5
Features Changed
Version 4.5.4
Bugs Fixed
Features Changed
New Features
Version 4.5.3
Bugs Fixed
Version 4.5.2
Bugs Fixed
Version 4.5.1
Bugs Fixed
Version 4.5.0
New Features
Version 4.4.23
New Features
Version 4.4.22
Bugs Fixed
New Features
Version 4.4.21
Features Changed
New Features
Version 4.4.20
Bugs Fixed
Version 4.4.19
Bugs Fixed
Version 4.4.18
Bugs Fixed
Version 4.4.17
Bugs Fixed
Version 4.4.16
Bugs Fixed
Version 4.4.15
Bugs Fixed
Version 4.4.14
Bugs Fixed
New Features
Version 4.4.13
Bugs Fixed
Features Changed
New Features
Version 4.4.12
Bugs Fixed
Version 4.4.11
Bugs Fixed
New Features
Version 4.4.10
Bugs Fixed
Features Changed
New Features
Version 4.4.9
Features Changed
New Features
Version 4.4.8
Bugs Fixed
New Features
Version 4.4.7
Features Changed
New Features
Version 4.4.6
Bugs Fixed
New Features
Version 4.4.5
Known Issues
Bugs Fixed
Version 4.4.4
Known Issues
New Features
Version 4.4.3
Known Issues
Features Changed
Bugs Fixed
New Features
Version 4.4.2
Known Issues
Features Changed
Bugs Fixed
Version 4.4.1
Known Issues
Bugs Fixed
Features Changed
New Features
Version 4.4.0
Known Issues
Bugs Fixed
Features Changed
New Features
Version 4.3.2
Known Issues
Bugs Fixed
New Features
Version 4.3.1
Known Issues
Bugs Fixed
New Features
Version 4.3.0
Known Issues
Bugs Fixed
Features Changed
New Features
Version 4.2.8
Known Issues
Bugs Fixed
Version 4.2.7
Known Issues
New Features
Version 4.2.6
Known Issues
Bugs Fixed
Version 4.2.5
Known Issues
Bugs Fixed
Version 4.2.4
Known Issues
Bugs Fixed
New Features
Version 4.2.3
Known Issues
Bugs Fixed
Version 4.2.2
Known Issues
Bugs Fixed
New Features
Version 4.2.1
Known Issues
Bugs Fixed
Version 4.2.0
Known Issues
New Features
Version 4.1.3
Known Issues
Bugs Fixed
Version 4.1.2
Known Issues
Bugs Fixed
Version 4.1.1
Known Issues
Bugs Fixed
Version 4.1.0
Known Issues
Bugs Fixed
Features Removed
Features Changed
New Features
Version 4.0
Version 3.5
Security Issues
Bugs Fixed
New Features
Version 3.4
Security Issues
Bugs Fixed
Features Changed
New Features
Version 3.3
Bug Fixes
Features Changed
Version 3.2
Bug Fixes
Version 3.1
Bug Fixes
Features Changed
Version 3.0
Bug Fixes
Features Changed
Features Removed
Features Added
Version 2.8
Bug Fixes
Version 2.7
Features Changed
Bug Fixes
Version 2.6
Bug Fixes
Features Changed
Version 2.5
Bug Fixes
Version 2.4
Bug Fixes
Features Changed
Features Added
Version 2.3
Bug Fixes
Version 2.2
Features Changed
Bug Fixes
Version 2.1
Bug Fixes
Version 2.0
Bug Fixes
Features Changed
Features Removed
Features Added
Version 1.6
Bug Fixes
Version 1.5
Bug Fixes
Version 1.4
Bug Fixes
Features Added
Version 1.3
Bug Fixes
Version 1.2
Bug Fixes
Version 1.1
Bug Fixes
Version 1.0
mod_wsgi
Docs
»
Index