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
Raw data
{
"_id": null,
"home_page": "http://www.modwsgi.org/",
"name": "mod-wsgi-httpd",
"maintainer": "Graham Dumpleton",
"docs_url": null,
"requires_python": null,
"maintainer_email": "Graham.Dumpleton@gmail.com",
"keywords": null,
"author": "Graham Dumpleton",
"author_email": "Graham.Dumpleton@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/61/f4/942f066aba1cd52276b4af24dc31d35b5fa2888802fe181dd2ba4c52d736/mod_wsgi_httpd-2.4.62.1.tar.gz",
"platform": null,
"description": "Overview\n--------\n\nThe ``mod_wsgi-httpd`` package is a companion package for mod_wsgi. It will\ncompile and install a copy of the Apache httpd server into your Python\ninstallation. If this is done, when the ``mod_wsgi`` package is\nsubsequently installed, it will be compiled against the Apache httpd server\ninstalled by this package. When ``mod_wsgi-express`` from the ``mod_wsgi``\npackage is then run, it will also use the same Apache httpd server.\n\nThis package therefore allows you to side step the fact that most Linux\ndistributions and MacOS X ship out of date versions of the Apache httpd\nserver, allowing you to use the very latest version. It also allows you to\ninstall ``mod_wsgi-express`` where you don't control your operating system\nand so don't have root access, and the Apache httpd server is not\ninstalled, or its companion ``dev`` packages are not installed, which are a\nprerequsite for being able to build mod_wsgi from source code.\n\n**NOTE: Although this package may allow you to install a newer Apache\nversion, it is only really recommended that you use this package if you\nhave absolutely no other choice for getting the Apache httpd server\ninstalled. Always use the Apache httpd server supplied with the operating\nsystem if you can. Building this package if you do choose to do so, will\ntake some time. So if you you think the install is hanging, it is probably\nstill busy compiling everything.**\n\nInstallation\n------------\n\nTo install the Apache httpd server::\n\n pip install -v mod_wsgi-httpd\n\nThe ``-v`` option enables you to see the output as everything is being\ncompiled. This way you can better track that it is doing something and\nisn't hanging.\n\nTo subsequently install the mod_wsgi package and mod_wsgi-express::\n\n pip install mod_wsgi\n\nInstallation of each package needs to be done separately, you cannot list\nboth in a ``requirements.txt`` file because the ``mod_wsgi-httpd`` package\nwill not be installed before ``pip`` processes the ``mod_wsgi`` package.\nAs a result the installation of ``mod_wsgi`` may fail, or the system Apache\nwill still be used if available.\n\nIf you need to install packages using ``pip`` from a ``requirements.txt``\nfile, or other similar Python package installer, you should instead\ninstall the ``mod_wsgi-standalone`` package. This is a special variant\nof the ``mod_wsgi`` package that will ensure that ``mod_wsgi-httpd`` is\ninstalled first. Ensure you have an up to date version of ``pip`` which\nunderstands ``pyproject.toml`` files when using this option.\n\nTo run mod_wsgi-express::\n\n mod_wsgi-express start-server\n\nYou can then access the server at::\n\n http://localhost:8000/\n\nFor more help on mod_wsgi-express see the documentation for the mod_wsgi\npackage and/or run::\n\n mod_wsgi-express start-server --help\n",
"bugtrack_url": null,
"license": "Apache License, Version 2.0",
"summary": "Installer for Apache httpd server.",
"version": "2.4.62.1",
"project_urls": {
"Homepage": "http://www.modwsgi.org/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "61f4942f066aba1cd52276b4af24dc31d35b5fa2888802fe181dd2ba4c52d736",
"md5": "5d84fd55ba95f74a7f575c45e5528e9f",
"sha256": "259fb1af4700bcfaf0b0213313a9ff1a6e13a5b754cc29ee37747276be4b0e0d"
},
"downloads": -1,
"filename": "mod_wsgi_httpd-2.4.62.1.tar.gz",
"has_sig": false,
"md5_digest": "5d84fd55ba95f74a7f575c45e5528e9f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2100729,
"upload_time": "2024-08-08T01:25:14",
"upload_time_iso_8601": "2024-08-08T01:25:14.150317Z",
"url": "https://files.pythonhosted.org/packages/61/f4/942f066aba1cd52276b4af24dc31d35b5fa2888802fe181dd2ba4c52d736/mod_wsgi_httpd-2.4.62.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-08 01:25:14",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "mod-wsgi-httpd"
}