Ticket #4538: installing.diff

File installing.diff, 2.8 KB (added by Paul Bx <pb@…>, 8 years ago)

the patch

  • install.txt

     
    105105=======================
    106106
    107107Installation instructions are slightly different depending on whether you're
    108 using the latest official version or the latest development version.
     108installing a distribution-specific package, downloading the the latest official
     109release, or fetching the latest development version.
    109110
    110 It's easy either way.
     111Installing a distribution-specific package
     112~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    111113
     114Check the `distribution specific notes`_ to see if your
     115platform/distribution provides official Django packages/installers.
     116Distribution-provided packages will typically allow for automatic
     117installation of dependancies and easy upgrade paths.
     118
    112119Installing the official version
    113120~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    114121
    115     1. Check the `distribution specific notes`_ to see if your
    116        platform/distribution provides official Django packages/installers.
    117        Distribution-provided packages will typically allow for automatic
    118        installation of dependancies and easy upgrade paths.
     122    1. Download the latest release from our `download page`_.
    119123
    120     2. Download the latest release from our `download page`_.
     124    2. Untar the downloaded file (e.g. ``tar xzvf Django-NNN.tar.gz``).
    121125
    122     3. Untar the downloaded file (e.g. ``tar xzvf Django-NNN.tar.gz``).
     126    3. Change into the downloaded directory (e.g. ``cd Django-NNN``).
    123127
    124     4. Change into the downloaded directory (e.g. ``cd Django-NNN``).
     128    4. Run ``sudo python setup.py install``.
    125129
    126     5. Run ``sudo python setup.py install``.
    127 
    128130The command will install Django in your Python installation's ``site-packages``
    129131directory.
    130132
  • apache_auth.txt

     
    2929        PythonAuthenHandler django.contrib.auth.handlers.modpython
    3030    </Location>
    3131
     32Note: If you're using Apache 2.2 or later, you'll also need to insert directives
     33to prevent Apache from using other available auth modules. The full list of
     34such modules is:
     35
     36    AuthBasicAuthoritative
     37    AuthDefaultAuthoritative
     38    AuthzLDAPAuthoritative
     39    AuthzDBMAuthoritative
     40    AuthzDefaultAuthoritative
     41    AuthzGroupFileAuthoritative
     42    AuthzOwnerAuthoritative
     43    AuthzUserAuthoritative
     44
     45To tell Apache not to use a particular module, add a line for each of your   
     46installed auth modules to your Apache configuration, like this:
     47
     48    AuthBasicAuthoritative Off
     49
    3250By default, the authentication handler will limit access to the ``/example/``
    3351location to users marked as staff members.  You can use a set of
    3452``PythonOption`` directives to modify this behavior:
Back to Top