Mod wsgi
   HOME

TheInfoList



OR:

mod_wsgi is an
Apache HTTP Server The Apache HTTP Server ( ) is a free and open-source cross-platform web server software, released under the terms of Apache License 2.0. Apache is developed and maintained by an open community of developers under the auspices of the Apache S ...
module by Graham Dumpleton that provides a
WSGI The Web Server Gateway Interface (WSGI, pronounced ''whiskey'' or ) is a simple calling convention for web servers to forward requests to web applications or frameworks written in the Python programming language. The current version of WSGI, ...
compliant interface for hosting Python based
web application A web application (or web app) is application software that is accessed using a web browser. Web applications are delivered on the World Wide Web to users with an active network connection. History In earlier computing models like client-serv ...
s under Apache. As of version 4.5.3, mod_wsgi supports Python 2 and 3 (starting from 2.6 and 3.2). It is an alternative to mod_python, CGI, and
FastCGI FastCGI is a binary protocol for interfacing interactive programs with a web server. It is a variation on the earlier Common Gateway Interface (CGI). FastCGI's main aim is to reduce the overhead related to interfacing between web server and CGI ...
solutions for Python-web integration. It was first available in 2007.


Installation

Later versions of mod_wsgi may be installed in one of two ways: The original way was as an Apache module, as is commonly used for many languages. From V4, the 'mod_wsgi express' method is also supported. This is installed as a Python module using setup.py or pip and without needing manual intervention with the Apache configuration. This method simplifies installation for Python developers who are more familiar with Python than with Apache. It also has advantages of virtualization as it creates a local environment without affecting system settings, or requiring root access to install.


References


External links


Code repository

Documentation
* * Apache httpd modules Articles with underscores in the title Web server software {{compu-network-stub