diff --git a/docs/howto/deployment/wsgi/modwsgi.txt b/docs/howto/deployment/wsgi/modwsgi.txt index 66920812770..5234d33b16f 100644 --- a/docs/howto/deployment/wsgi/modwsgi.txt +++ b/docs/howto/deployment/wsgi/modwsgi.txt @@ -26,7 +26,8 @@ Basic configuration Once you've got mod_wsgi installed and activated, edit your Apache server's ``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``. +older than 2.4, replace ``Require all granted`` with ``Allow from all`` and +also add the line ``Order deny,allow`` above it. .. code-block:: apache @@ -35,7 +36,6 @@ older than 2.4, replace ``Require all granted`` with ``Allow from all``. - Order deny,allow Require all granted @@ -139,12 +139,10 @@ will be served using mod_wsgi:: Alias /static/ /path/to/mysite.com/static/ - Order deny,allow Require all granted - Order deny,allow Require all granted @@ -152,13 +150,13 @@ will be served using mod_wsgi:: - Order allow,deny Require all granted If you are using a version of Apache older than 2.4, replace -``Require all granted`` with ``Allow from all``. +``Require all granted`` with ``Allow from all`` and also add the line +``Order deny,allow`` above it. .. _lighttpd: http://www.lighttpd.net/ .. _Nginx: http://wiki.nginx.org/Main