Skip to main content

Installer for Apache/mod_wsgi.

Reason this release was yanked:

Corrupt tar.gz file.

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.dev2.tar.gz (599.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: mod_wsgi-6.0.0.dev2.tar.gz
  • Upload date:
  • Size: 599.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.dev2.tar.gz
Algorithm Hash digest
SHA256 71393572301aec54a1b3494b6342676c9b12dae630ff06bae2e92ad46be90e05
MD5 a9d402e4534246b88a830eb40a0c23c4
BLAKE2b-256 455d42e70dbc3ccbd710cd3a584c44a90672f0a92080ccfe913796fdcf05c6ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for mod_wsgi-6.0.0.dev2.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