diff options
| author | Graham Dumpleton <Graham.Dumpleton@gmail.com> | 2014-12-03 21:56:34 +1100 |
|---|---|---|
| committer | Graham Dumpleton <Graham.Dumpleton@gmail.com> | 2014-12-03 21:56:34 +1100 |
| commit | ddd232c2767789054417eaef014d41d84d2e1cdc (patch) | |
| tree | 69fbcf7d872a9ea5a0a593eb8f8cbcde8ed82baf /docs/release-notes | |
| parent | aacda116f2602f7f7a29cb22428db7961a775f9a (diff) | |
| download | mod_wsgi-ddd232c2767789054417eaef014d41d84d2e1cdc.tar.gz | |
Add --host-access-script to mod_wsgi-express. #47
Diffstat (limited to 'docs/release-notes')
| -rw-r--r-- | docs/release-notes/version-4.4.1.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/release-notes/version-4.4.1.rst b/docs/release-notes/version-4.4.1.rst index 5acd5f3..613edbe 100644 --- a/docs/release-notes/version-4.4.1.rst +++ b/docs/release-notes/version-4.4.1.rst @@ -29,3 +29,9 @@ served. One can still set specific handler types for different extensions which may invoke a Python handler script, but there will be no global fallback WSGI application for any URLs that do not map to static files. In these cases a normal HTTP 404 response will be returned instead. + +3. Added ``--host-access-script`` option to ``mod_wsgi-express`` to allow +a Python script to be provided which can control host access. This uses +the ``WSGIAccessScript`` directive and the handler script should define an +``allow_access(environ, host)`` function which returns ``True`` if access is +allowed or ``False`` if blocked. |
