diff options
author | Chris McDonough <chrism@plope.com> | 2013-08-12 00:52:36 -0400 |
---|---|---|
committer | Chris McDonough <chrism@plope.com> | 2013-08-12 00:52:36 -0400 |
commit | 497a232cf8c93ba893208bb9cdea5d3ccc6eab7e (patch) | |
tree | 1359c77aa4858eb7e28d3c952395259e552419d2 /docs/runner.rst | |
parent | 53fe0182ae5250916d2e7a17d29e12597a5ff1cb (diff) | |
download | waitress-497a232cf8c93ba893208bb9cdea5d3ccc6eab7e.tar.gz |
add a url_prefix adjustment that behaves much like paste prefixmiddleware (to avoid needing to explain paste prefixmiddleware, which avoids needing to explain pastedeploy, which avoids needing to explain pipelines, and so forth)
Diffstat (limited to 'docs/runner.rst')
-rw-r--r-- | docs/runner.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/runner.rst b/docs/runner.rst index 2d9d6ef..e2347bf 100644 --- a/docs/runner.rst +++ b/docs/runner.rst @@ -92,6 +92,13 @@ Common options: ``--url-scheme=STR`` Default ``wsgi.url_scheme`` value, default is 'http'. +` +``--url-prefix=STR`` + The ``SCRIPT_NAME`` WSGI environment value. Setting this to anything + except the empty string will cause the WSGI ``SCRIPT_NAME`` value to be the + value passed minus any trailing slashes you add, and it will cause the + ``PATH_INFO`` of any request which is prefixed with this value to be + stripped of the prefix. Default is the empty string. ``--ident=STR`` Server identity used in the 'Server' header in responses. Default |