Skip to main content

This package provides middleware and utilities for doing virtual hosting within a WSGI/Repoze environment. It is particularly useful within a repoze.zope2 environment, where it may be used as an alternative to the classic VirtualHostMonster: method of doing virtual hosting.

Read the docs locally (see docs/index.rst), or read them online. repoze.vhm Changelog ====================

0.16 (2020-07-28)

  • Add support for Python 3.7 and 3.8.

  • Drop support for Python 3.3 and 3.4.

0.15 (2020-06-19)

  • Add support for testing on Travis.

  • Drop support for Python 2.6.

  • Add support fo Python 3.4, 3.5, and 3.6.

0.14 (2012-03-24)

0.13 (2010-04-18)

  • add conserve_path_infos for the VHMPathFilter middleware [kiorky]

0.12 (2010-01-01)

  • Update tests of middleware to check only that munge is called correctly.

  • Test munge sepearately.

  • 100% test coverage.

  • fixed xheaders filter to set PATH_INFO correctly [vangheem]

0.11 (2009-08-31)

  • Add a repoze.vhm#vhm_explicit filter. This is like the vhm_xheaders middleware, but the VHM host and/or root are set in the WSGI configuration instead of in the request.

  • Calculate a VIRTUAL_URL and put it into the environment. This is basically the URL that the end user sees. repoze.zope2 >= 1.0.2 uses this to compute the ACTUAL_URL request variable, for example.

0.10 (2009-08-26)

  • Apply the HTTP_HOST port number fix to the VHM Path filter as well.

0.9 (2009-07-09)

  • 100% test coverage.

  • HTTP_HOST parameter now includes port number if not http:80 or https:443. Thanks to Martin Aspeli.

0.8 (2009-01-10)

  • Set ‘HTTP_HOST’ in environ to the same value as ‘SERVER_NAME’, FBO apps which need it.

0.7 (2008-05-07)

  • Remove ‘dependency-links=’ to dist.repoze.org to prevent easy_install from searching there inappropriately.

0.6 (2008-04-17)

  • Re-added the path-segment-based filter as an option, to support scenarios in which the reverse proxy can be configured to rewrite the URL but not to add headers.

0.5 (2008-03-09)

  • Brown bag release: I fudged the entry point for the xheaders filter.

0.4 (2008-03-09)

  • Kill off path-segment-based filter (repoze.vhm.zope2). Only the xheaders filter remains.

  • Add license headers.

  • The middleware now sets a ‘repoze.vhm.virtual_host_base’ which is preferred by setServerUrl over ‘HTTP_HOST’ when present.

  • Add a getVirtualRoot API.

0.3 (2007-10-25)

  • Fix setServerURL method to take into account HTTP_HOST passed by client.

0.2 (2007-09-22)

  • Change repoze.vhm.zope2:setServerURL to allow Zope 2 to generate the correct request[‘URL’] value when the vhm is in the pipeline.

0.1 (2007-09-21)

  • Initial release.

Release files for repoze.vhm 0.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for repoze.vhm 0.16
File Size Uploaded
repoze.vhm-0.16.tar.gz 26.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for repoze.vhm 0.16
File Interpreter ABI Platform
repoze.vhm-0.16-py3-none-any.whl Python 3 none any Details

Total release size: 39.6 kB

Release files / repoze.vhm-0.16.tar.gz

Download URL repoze.vhm-0.16.tar.gz
Size 26.0 kB
Tags Source
SHA-256 checksum
How to use checksums
13fb9df112dcd1d35b5d4e3cf16f6571dd60e56c0b9b128aa87ec4ceffcb2ffe
BLAKE2b-256 checksum
How to use checksums
0436caf16440cb18708742cd9e26e8a0701a3c9221233799d615d5df29ee62ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / repoze.vhm-0.16-py3-none-any.whl

Download URL repoze.vhm-0.16-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fdb396c3a892b5dc8c00536c2723afc87656e504cf44cf0c4141af0dc95151d7
BLAKE2b-256 checksum
How to use checksums
b779d8182d56b549f9032b0658536b9bbb07b9ab5aa87d58fafba2845fc7fcba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.16 This release

2 release files

0.15

1 release file

0.14

1 release file

0.13

1 release file

0.12

1 release file

0.11

1 release file

0.10

1 release file

0.9

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page