mod_wsgi

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

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.

gollark: osmarkslispFPGA™ when?!
gollark: It's not like C is very close to the hardware nowadays *either*. With enough investment we could probably have had fast Lisp machines too.
gollark: Lisp machines but they're safe rust machines.
gollark: 🐝 Github's Dependabot for spamming me with notifications about 189246187264182 npm package security vulnerabilities constantly.
gollark: It does make it easier to isolate.

References

  1. "mod_wsgi requirements".
  2. "mod_wsgi 4.4.21". Python Software Foundation.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.