A URL rewriting middleware that emulates a VHM url.
Project description
He’s fearsome.
About
Mr Monster is a WSGI middleware designed to make it easy to locally test pipelines that will eventually be served behind apache with a rewrite rule in place.
The configuration is very simple, the easiest case being:
[filter:monster] use = egg:mr.monster#rewrite autodetect = true
which simply adds the correct VirtualHostBase/Root declarations.
Options
- autodetect:
Pick a host and port from the inbound request
- host:
Set the canonical hostname to pass to Zope. If used you must provide a port.
- port:
Set the canonical port. If used you must provide a host.
- internalpath:
A path in the form /foo/site that is the base of your application in Zope.
- externalpath:
A path in the form /bar/baz to filter from a request using _vh_bar syntax.
Release history
2009-07-24
Initial release (Matthew Wilkes)
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
Built Distribution
File details
Details for the file mr.monster-1.0.tar.gz
.
File metadata
- Download URL: mr.monster-1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ad27d03c0caaf52c2642ad2471e3179f0f0658801767b274490e2b30173f5bf |
|
MD5 | b9b61d76ee8d058d19430021f5c16582 |
|
BLAKE2b-256 | 48b0d6f9040a95145836bccddd06c16aa43d237bd2f30a6da5399297e160437c |
File details
Details for the file mr.monster-1.0-py2.4.egg
.
File metadata
- Download URL: mr.monster-1.0-py2.4.egg
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d173d3b3abfdca2856bff4ee1188174ba4dd9f89be449aefc5b29b4c8ceac904 |
|
MD5 | db94647e044da1b996855a8368b7e5b3 |
|
BLAKE2b-256 | a35fb17762f7c06cdc66f5f112db0206e2b85963860d68e7408bfd96372a1858 |