Commit 61898d86 authored by Malcolm Tredinnick's avatar Malcolm Tredinnick
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
parent 9eaa0591
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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