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.62.1.tar.gz (2.1 MB view details)

Uploaded Source

File details

Details for the file mod_wsgi_httpd-2.4.62.1.tar.gz.

File metadata

  • Download URL: mod_wsgi_httpd-2.4.62.1.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for mod_wsgi_httpd-2.4.62.1.tar.gz
Algorithm Hash digest
SHA256 259fb1af4700bcfaf0b0213313a9ff1a6e13a5b754cc29ee37747276be4b0e0d
MD5 5d84fd55ba95f74a7f575c45e5528e9f
BLAKE2b-256 61f4942f066aba1cd52276b4af24dc31d35b5fa2888802fe181dd2ba4c52d736

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