Ticket #4538: installing.diff
File installing.diff, 2.8 KB (added by , 17 years ago) |
---|
-
install.txt
105 105 ======================= 106 106 107 107 Installation instructions are slightly different depending on whether you're 108 using the latest official version or the latest development version. 108 installing a distribution-specific package, downloading the the latest official 109 release, or fetching the latest development version. 109 110 110 It's easy either way. 111 Installing a distribution-specific package 112 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 113 114 Check the `distribution specific notes`_ to see if your 115 platform/distribution provides official Django packages/installers. 116 Distribution-provided packages will typically allow for automatic 117 installation of dependancies and easy upgrade paths. 118 112 119 Installing the official version 113 120 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 114 121 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`_. 119 123 120 2. Download the latest release from our `download page`_.124 2. Untar the downloaded file (e.g. ``tar xzvf Django-NNN.tar.gz``). 121 125 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``). 123 127 124 4. Change into the downloaded directory (e.g. ``cd Django-NNN``).128 4. Run ``sudo python setup.py install``. 125 129 126 5. Run ``sudo python setup.py install``.127 128 130 The command will install Django in your Python installation's ``site-packages`` 129 131 directory. 130 132 -
apache_auth.txt
29 29 PythonAuthenHandler django.contrib.auth.handlers.modpython 30 30 </Location> 31 31 32 Note: If you're using Apache 2.2 or later, you'll also need to insert directives 33 to prevent Apache from using other available auth modules. The full list of 34 such modules is: 35 36 AuthBasicAuthoritative 37 AuthDefaultAuthoritative 38 AuthzLDAPAuthoritative 39 AuthzDBMAuthoritative 40 AuthzDefaultAuthoritative 41 AuthzGroupFileAuthoritative 42 AuthzOwnerAuthoritative 43 AuthzUserAuthoritative 44 45 To tell Apache not to use a particular module, add a line for each of your 46 installed auth modules to your Apache configuration, like this: 47 48 AuthBasicAuthoritative Off 49 32 50 By default, the authentication handler will limit access to the ``/example/`` 33 51 location to users marked as staff members. You can use a set of 34 52 ``PythonOption`` directives to modify this behavior: