Skip to content

Commit

Permalink
[1.5.x] Fixed #19319 -- Updated example httpd.conf for Apache 2.4
Browse files Browse the repository at this point in the history
Thanks colinnkeenan@ for the report.

Backport of 7314007 from master
  • Loading branch information
timgraham committed Jun 20, 2013
1 parent b5f8339 commit 843802e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/howto/deployment/wsgi/modwsgi.txt
Expand Up @@ -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

Expand All @@ -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>

Expand Down

0 comments on commit 843802e

Please sign in to comment.