summaryrefslogtreecommitdiff
path: root/docs/howto
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-06-20 13:34:02 -0400
committerTim Graham <timograham@gmail.com>2013-06-20 13:34:02 -0400
commit7314007c5bf57b9184c0bd6a8246582dd2cb8179 (patch)
tree1d91c92d8e9c33fec892fb2cbc2a43f851970b9c /docs/howto
parent04628e2016641bfa657333d6ee1f5b371c17f62c (diff)
downloaddjango-7314007c5bf57b9184c0bd6a8246582dd2cb8179.tar.gz
Fixed #19319 -- Updated example httpd.conf for Apache 2.4
Thanks colinnkeenan@ for the report.
Diffstat (limited to 'docs/howto')
-rw-r--r--docs/howto/deployment/wsgi/modwsgi.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/howto/deployment/wsgi/modwsgi.txt b/docs/howto/deployment/wsgi/modwsgi.txt
index 7749192358..2cbcd8ce7e 100644
--- a/docs/howto/deployment/wsgi/modwsgi.txt
+++ b/docs/howto/deployment/wsgi/modwsgi.txt
@@ -25,7 +25,8 @@ Basic configuration
===================
Once you've got mod_wsgi installed and activated, edit your Apache server's
-``httpd.conf`` file and add
+``httpd.conf`` file and add the following. If you are using a version of Apache
+older than 2.4, replace ``Require all granted`` with ``Allow from all``.
.. code-block:: apache
@@ -35,7 +36,7 @@ Once you've got mod_wsgi installed and activated, edit your Apache server's
<Directory /path/to/mysite.com/mysite>
<Files wsgi.py>
Order deny,allow
- Allow from all
+ Require all granted
</Files>
</Directory>