Skip to main content

Installer for Apache httpd server.

Project description

Overview

The mod_wsgi-httpd package is a companion package for mod_wsgi. It will compile and install a copy of the Apache httpd server into your Python installation. If this is done, when the mod_wsgi package is subsequently installed, it will be compiled against the Apache httpd server installed by this package. When mod_wsgi-express from the mod_wsgi package is then run, it will also use the same Apache httpd server.

This package therefore allows you to side step the fact that most Linux distributions and MacOS X ship out of date versions of the Apache httpd server, allowing you to use the very latest version. It also allows you to install mod_wsgi-express where you don’t control your operating system and so don’t have root access, and the Apache httpd server is not installed, or its companion dev packages are not installed, which are a prerequsite for being able to build mod_wsgi from source code.

NOTE: Although this package may allow you to install a newer Apache version, it is only really recommended that you use this package if you have absolutely no other choice for getting the Apache httpd server installed. Always use the Apache httpd server supplied with the operating system if you can. Building this package if you do choose to do so, will take some time. So if you you think the install is hanging, it is probably still busy compiling everything.

Installation

To install the Apache httpd server:

pip install -v mod_wsgi-httpd

The -v option enables you to see the output as everything is being compiled. This way you can better track that it is doing something and isn’t hanging.

To subsequently install the mod_wsgi package and mod_wsgi-express:

pip install mod_wsgi

Installation of each package needs to be done separately, you cannot list both in a requirements.txt file because the mod_wsgi-httpd package will not be installed before pip processes the mod_wsgi package. As a result the installation of mod_wsgi may fail, or the system Apache will still be used if available.

If you need to install packages using pip from a requirements.txt file, or other similar Python package installer, you should instead install the mod_wsgi-standalone package. This is a special variant of the mod_wsgi package that will ensure that mod_wsgi-httpd is installed first. Ensure you have an up to date version of pip which understands pyproject.toml files when using this option.

To run mod_wsgi-express:

mod_wsgi-express start-server

You can then access the server at:

http://localhost:8000/

For more help on mod_wsgi-express see the documentation for the mod_wsgi package and/or run:

mod_wsgi-express start-server --help

Project details


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-httpd-2.4.41.1.tar.gz (3.7 MB view details)

Uploaded Source

File details

Details for the file mod_wsgi-httpd-2.4.41.1.tar.gz.

File metadata

  • Download URL: mod_wsgi-httpd-2.4.41.1.tar.gz
  • Upload date:
  • Size: 3.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.16

File hashes

Hashes for mod_wsgi-httpd-2.4.41.1.tar.gz
Algorithm Hash digest
SHA256 0b2e68831d7ceec87b5e06ef25bf8c497e37a3ecd2f74f9f0375671815c71726
MD5 a10495c7c800602c34d314b480e39e57
BLAKE2b-256 07b52ed5131c0adc374a9da382ef651c6adcdad51c10c6d47db302d6a6539ee8

See more details on using hashes here.

Supported by

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