Permalink
Browse files

Fixed #6612 -- Updated Apache auth recipe for Apache 2.2. Thanks, trbs.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 9eaa059 commit 61898d86276d236388c66a8f629ff6c3cfe04800 @malcolmt malcolmt committed Jun 30, 2008
Showing with 5 additions and 3 deletions.
  1. +5 −3 docs/apache_auth.txt
View
@@ -39,9 +39,10 @@ with the standard ``Auth*`` and ``Require`` directives::
example at the bottom of this note).
You'll also need to insert configuration directives that prevent Apache
- from trying to use other authentication modules. Depending on which other
- authentication modules you have loaded, you might need one or more of
- the following directives::
+ from trying to use other authentication modules, as well as specifying
+ the ``AuthUserFile`` directive and pointing it to ``/dev/null``. Depending
+ on which other authentication modules you have loaded, you might need one
+ or more of the following directives::
AuthBasicAuthoritative Off
AuthDefaultAuthoritative Off
@@ -65,6 +66,7 @@ with the standard ``Auth*`` and ``Require`` directives::
<Location /example/>
AuthType Basic
AuthName "example.com"
+ **AuthUserFile /dev/null**
**AuthBasicAuthoritative Off**
Require valid-user

0 comments on commit 61898d8

Please sign in to comment.