mirror of
https://github.com/django/django.git
synced 2025-07-19 17:19:12 +00:00
[1.9.x] Fixed #26302 -- Removed incorrect statement about virtual hosts.
Backport of 593ecfe1352bce7daa7a2ca530a46de2f0133319 from master
This commit is contained in:
parent
0bae867cd2
commit
05ca9a68b5
@ -25,12 +25,11 @@ Basic configuration
|
|||||||
===================
|
===================
|
||||||
|
|
||||||
Once you've got mod_wsgi installed and activated, edit your Apache server's
|
Once you've got mod_wsgi installed and activated, edit your Apache server's
|
||||||
`httpd.conf`_ file (or a `virtual host`_ file) and add the following. If you
|
`httpd.conf`_ file and add the following. If you are using a version of Apache
|
||||||
are using a version of Apache older than 2.4, replace ``Require all granted``
|
older than 2.4, replace ``Require all granted`` with ``Allow from all`` and
|
||||||
with ``Allow from all`` and also add the line ``Order deny,allow`` above it.
|
also add the line ``Order deny,allow`` above it.
|
||||||
|
|
||||||
.. _httpd.conf: https://wiki.apache.org/httpd/DistrosDefaultLayout
|
.. _httpd.conf: https://wiki.apache.org/httpd/DistrosDefaultLayout
|
||||||
.. _virtual host: https://httpd.apache.org/docs/current/en/vhosts/
|
|
||||||
|
|
||||||
.. code-block:: apache
|
.. code-block:: apache
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user