Skip to main content

Installer for Apache/mod_wsgi.

Project description

The mod_wsgi package provides an Apache module that implements a WSGI compliant interface for hosting Python-based web applications on top of the Apache web server, conforming to the WSGI specification (PEP 3333).

When installed from PyPi using pip, the mod_wsgi package builds the mod_wsgi Apache module against the Apache and Python installations on your host, and installs the mod_wsgi-express command-line wrapper alongside it.

mod_wsgi-express ships a curated Apache configuration template tuned for hosting a single WSGI application, and generates a complete Apache configuration from it on the fly based on the command-line options you supply. Running mod_wsgi-express start-server brings up an Apache instance owned by your own user account, with the generated configuration loading mod_wsgi and wiring in your WSGI application, without you needing to write or maintain any Apache configuration yourself. This makes the package an alternative to using a system-supplied mod_wsgi package together with a hand-managed Apache configuration, and is well suited to development environments, container images, and production deployments where having Apache configured automatically is preferable to managing the Apache configuration directly.

The mod_wsgi package can also be used purely as a way to build the mod_wsgi Apache module (mod_wsgi.so) for use with an existing Apache installation. The built module can be referenced from where pip placed it, or copied into the modules directory of the target Apache using the mod_wsgi-express install-module command. This works both with the system-supplied Apache on your operating system and with a self-built Apache installation. In this mode you continue to write the Apache configuration yourself, and the mod_wsgi package serves as a convenient way to obtain a compiled Apache module that matches your Python interpreter.

The mod_wsgi package on PyPi assumes that you have a suitable version of Apache pre-installed on your target system, including its development headers. If you do not, and you are on a UNIX-like system (Linux), see the companion mod_wsgi-standalone package on PyPi, which additionally installs a private build of Apache as part of the Python installation.

For installation instructions, configuration directives, and usage guides, see the mod_wsgi documentation site at https://www.modwsgi.org.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mod_wsgi-6.0.0.dev3.tar.gz (596.8 kB view details)

Uploaded Source

File details

Details for the file mod_wsgi-6.0.0.dev3.tar.gz.

File metadata

  • Download URL: mod_wsgi-6.0.0.dev3.tar.gz
  • Upload date:
  • Size: 596.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mod_wsgi-6.0.0.dev3.tar.gz
Algorithm Hash digest
SHA256 18f81ef94fb4d8ec66b0f901b853e17e34bb760f5930185e2594df2f711ac913
MD5 8e9ef57d73e714d97d8f10c7a769af53
BLAKE2b-256 0c8919d9587f7d054280e2dc0bad0716a9254c88852d4645b233cf112f4278cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for mod_wsgi-6.0.0.dev3.tar.gz:

Publisher: mod_wsgi.yml on GrahamDumpleton/mod_wsgi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page