Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order has one param without spaces #5203

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions cookbook/configuration/web_server_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The **minimum configuration** to get your application running under Apache is:
DocumentRoot /var/www/project/web
<Directory /var/www/project/web>
AllowOverride All
Order allow, deny
Order Allow,Deny
Allow from All
</Directory>

Expand Down Expand Up @@ -76,7 +76,7 @@ and increase web server performance:
DocumentRoot /var/www/project/web
<Directory /var/www/project/web>
AllowOverride None
Order allow, deny
Order Allow,Deny
Allow from All

<IfModule mod_rewrite.c>
Expand Down Expand Up @@ -110,7 +110,7 @@ and increase web server performance:
Using mod_php/PHP-CGI with Apache 2.4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In Apache 2.4, ``Order allow,deny`` has been replaced by ``Require all granted``.
In Apache 2.4, ``Order Allow,Deny`` has been replaced by ``Require all granted``.
Hence, you need to modify your ``Directory`` permission settings as follows:

.. code-block:: apache
Expand Down Expand Up @@ -223,7 +223,7 @@ should look something like this:
<Directory /var/www/project/web>
# enable the .htaccess rewrites
AllowOverride All
Order allow, deny
Order Allow,Deny
Allow from all
</Directory>

Expand Down