Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.5.x] Fixed #19319 -- Updated example httpd.conf for Apache 2.4

Thanks colinnkeenan@ for the report.

Backport of 7314007 from master
  • Loading branch information...
commit 843802ec269d5c3676a7d3a021539008f8f5233d 1 parent b5f8339
@timgraham timgraham authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 docs/howto/deployment/wsgi/modwsgi.txt
View
5 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>
Please sign in to comment.
Something went wrong with that request. Please try again.