Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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
Tim Graham authored June 20, 2013

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. 5  docs/howto/deployment/wsgi/modwsgi.txt
5  docs/howto/deployment/wsgi/modwsgi.txt
@@ -25,7 +25,8 @@ Basic configuration
25 25
 ===================
26 26
 
27 27
 Once you've got mod_wsgi installed and activated, edit your Apache server's
28  
-``httpd.conf`` file and add
  28
+``httpd.conf`` file and add the following. If you are using a version of Apache
  29
+older than 2.4, replace ``Require all granted`` with ``Allow from all``.
29 30
 
30 31
 .. code-block:: apache
31 32
 
@@ -35,7 +36,7 @@ Once you've got mod_wsgi installed and activated, edit your Apache server's
35 36
     <Directory /path/to/mysite.com/mysite>
36 37
     <Files wsgi.py>
37 38
     Order deny,allow
38  
-    Allow from all
  39
+    Require all granted
39 40
     </Files>
40 41
     </Directory>
41 42
 

0 notes on commit 843802e

Please sign in to comment.
Something went wrong with that request. Please try again.