Removed instructions for unsupported Apache versions.

This commit is contained in:
Claude Paroz 2020-05-25 08:56:50 +02:00 committed by GitHub
parent 972000420e
commit cfa0c0e252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 7 deletions

View File

@ -25,9 +25,7 @@ Basic configuration
=================== ===================
Once you've got mod_wsgi installed and activated, edit your Apache server's 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 `httpd.conf`_ file and add the following.
older than 2.4, replace ``Require all granted`` with ``Allow from all`` and
also add the line ``Order deny,allow`` above it.
.. _httpd.conf: https://wiki.apache.org/httpd/DistrosDefaultLayout .. _httpd.conf: https://wiki.apache.org/httpd/DistrosDefaultLayout
@ -175,10 +173,6 @@ a static file. All other URLs will be served using mod_wsgi:
</Files> </Files>
</Directory> </Directory>
If you are using a version of Apache older than 2.4, replace
``Require all granted`` with ``Allow from all`` and also add the line
``Order deny,allow`` above it.
.. _Nginx: https://nginx.org/en/ .. _Nginx: https://nginx.org/en/
.. _Apache: https://httpd.apache.org/ .. _Apache: https://httpd.apache.org/