📑 Table of Contents

mod_wsgi is an Apache HTTP Server module by Graham Dumpleton that provides a WSGI compliant interface for hosting Python based web applications under Apache. As of version 4.5.3, mod_wsgi supports Python 2 and 3 (starting from 2.6 and 3.2).[1]

It is an alternative to mod_python, CGI, and FastCGI solutions for Python-web integration. It was first available in 2007.

Installation

edit

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.[2] 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

edit
  1. ^ "mod_wsgi requirements".
  2. ^ "mod_wsgi 4.4.21". Python Software Foundation.
edit


📚 Artikel Terkait di Wikipedia

Web Server Gateway Interface

Engine's webapp2 Gunicorn prestans mod_wsgi for use with Apache netius pycnic Paste component WebOb is specifically a WSGI extension. It was adopted by the

Mod ruby

active development. Phusion Passenger (mod_rails/mod_rack) mod_perl mod_php mod_python mod_wsgi [dead link]mod_ruby Wiki Archived 2011-08-08 at the Wayback

List of Python software

tool for automating the building (compiling) of software. mod_wsgi – module that provides a WSGI compliant interface for hosting Python based web applications

Mod python

PEP 3333 in December 2003, interest in mod_python has largely moved to WSGI-compliant alternatives such as mod_wsgi. Development on the project eventually

Flask (web framework)

library for the Python programming language for Web Server Gateway Interface (WSGI) applications. Werkzeug can instantiate objects for request, response, and

Common Gateway Interface

(WSGI) is a modern approach written in the Python programming language. It is defined by PEP 3333 and implemented via various methods like mod_wsgi (Apache

Python (programming language)

covered by specifications—for example, the Web Server Gateway Interface (WSGI) implementation wsgiref follows PEP 333—but most parts are specified by their

Anaconda (Python distribution)

BlueBream CherryPy CubicWeb Django FastAPI Flask Google App Engine Grok Kivy mod_wsgi Nevow Pylons Pyramid Python Paste Quixote RapidSMS Robot Framework Spyce