Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added warning to docs regarding mod_wsgi and Authorization HTTP heade…

…r with ApiKeyAuthentication. Fixes #587.
  • Loading branch information...
commit dbfd75bf55a010db129518989d83944e52efac1b 1 parent 1547ee9
@mattaustin mattaustin authored joshbohde committed
Showing with 8 additions and 0 deletions.
  1. +8 −0 docs/authentication_authorization.rst
View
8 docs/authentication_authorization.rst
@@ -106,6 +106,14 @@ objects. Hooking it up looks like::
models.signals.post_save.connect(create_api_key, sender=User)
+.. warning::
+
+ If you're using Apache & ``mod_wsgi``, you will need to enable
+ ``WSGIPassAuthorization On``, otherwise ``mod_wsgi`` strips out the
+ ``Authorization`` header. See `this post`_ for details (even though it
+ only mentions Basic auth).
+
+.. _`this post`: http://www.nerdydork.com/basic-authentication-on-mod_wsgi.html
``SessionAuthentication``
~~~~~~~~~~~~~~~~~~~~~~~~~
Please sign in to comment.
Something went wrong with that request. Please try again.