Permalink
Browse files

Added warning to docs regarding mod_wsgi and Authorization HTTP heade…

…r with ApiKeyAuthentication. Fixes #587.
  • Loading branch information...
1 parent 1547ee9 commit dbfd75bf55a010db129518989d83944e52efac1b @mattaustin mattaustin committed with joshbohde Jul 30, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 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``
~~~~~~~~~~~~~~~~~~~~~~~~~

0 comments on commit dbfd75b

Please sign in to comment.