Django

Code

Show
Ignore:
Timestamp:
10/19/07 23:16:40 (11 months ago)
Author:
mtredinnick
Message:

Fixed #5782 -- Fixed a small typo spotted by obeattie.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/apache_auth.txt

    r6347 r6540  
    2929        PythonAuthenHandler django.contrib.auth.handlers.modpython 
    3030    </Location> 
    31      
     31 
    3232.. admonition:: Using the authentication handler with Apache 2.2 
    3333 
    3434    If you're using Apache 2.2, you'll need to take a couple extra steps. 
    35      
     35 
    3636    You'll need to ensure that ``mod_auth_basic`` and ``mod_authz_user`` 
    3737    are loaded. These might be compiled statically into Apache, or you might 
    3838    need to use ``LoadModule`` to load them dynamically (as shown in the 
    3939    example at the bottom of this note). 
    40          
     40 
    4141    You'll also need to insert configuration directives that prevent Apache 
    4242    from trying to use other authentication modules. Depending on which other 
    4343    authentication modules you have loaded, you might need one or more of 
    4444    the following directives:: 
    45      
     45 
    4646        AuthBasicAuthoritative Off 
    4747        AuthDefaultAuthoritative Off 
     
    5252        AuthzOwnerAuthoritative Off 
    5353        AuthzUserAuthoritative Off 
    54          
     54 
    5555    A complete configuration, with differences between Apache 2.0 and 
    5656    Apache 2.2 marked in bold, would look something like: 
    57      
     57 
    5858    .. parsed-literal:: 
    59      
     59 
    6060        **LoadModule auth_basic_module modules/mod_auth_basic.so** 
    6161        **LoadModule authz_user_module modules/mod_authz_user.so** 
    62      
     62 
    6363        ... 
    64      
    65         <Location /exmaple/> 
     64 
     65        <Location /example/> 
    6666            AuthType Basic 
    6767            AuthName "example.com" 
     
    7272            PythonAuthenHandler django.contrib.auth.handlers.modpython 
    7373        </Location> 
    74          
     74 
    7575By default, the authentication handler will limit access to the ``/example/`` 
    7676location to users marked as staff members.  You can use a set of