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
This commit is contained in:
parent
9eaa05912c
commit
61898d8627
|
@ -39,9 +39,10 @@ with the standard ``Auth*`` and ``Require`` directives::
|
||||||
example at the bottom of this note).
|
example at the bottom of this note).
|
||||||
|
|
||||||
You'll also need to insert configuration directives that prevent Apache
|
You'll also need to insert configuration directives that prevent Apache
|
||||||
from trying to use other authentication modules. Depending on which other
|
from trying to use other authentication modules, as well as specifying
|
||||||
authentication modules you have loaded, you might need one or more of
|
the ``AuthUserFile`` directive and pointing it to ``/dev/null``. Depending
|
||||||
the following directives::
|
on which other authentication modules you have loaded, you might need one
|
||||||
|
or more of the following directives::
|
||||||
|
|
||||||
AuthBasicAuthoritative Off
|
AuthBasicAuthoritative Off
|
||||||
AuthDefaultAuthoritative Off
|
AuthDefaultAuthoritative Off
|
||||||
|
@ -65,6 +66,7 @@ with the standard ``Auth*`` and ``Require`` directives::
|
||||||
<Location /example/>
|
<Location /example/>
|
||||||
AuthType Basic
|
AuthType Basic
|
||||||
AuthName "example.com"
|
AuthName "example.com"
|
||||||
|
**AuthUserFile /dev/null**
|
||||||
**AuthBasicAuthoritative Off**
|
**AuthBasicAuthoritative Off**
|
||||||
Require valid-user
|
Require valid-user
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue