Skip to content

Commit 0c70254

Browse files
committed
bug symfony#5203 Order has one param without spaces (carlosbuenosvinos)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes symfony#5203). Discussion ---------- Order has one param without spaces | Q | A | ----------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | none from http://httpd.apache.org/docs/current/mod/mod_access_compat.html#order "Ordering is one of: Allow,Deny First, all Allow directives are evaluated; at least one must match, or the request is rejected. Next, all Deny directives are evaluated. If any matches, the request is rejected. Last, any requests which do not match an Allow or a Deny directive are denied by default. Deny,Allow First, all Deny directives are evaluated; if any match, the request is denied unless it also matches an Allow directive. Any requests which do not match any Allow or Deny directives are permitted. Mutual-failure This order has the same effect as Order Allow,Deny and is deprecated in its favor." Commits ------- fe77d49 Order has one param without spaces
2 parents fa90e24 + fe77d49 commit 0c70254

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cookbook/configuration/web_server_configuration.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The **minimum configuration** to get your application running under Apache is:
4545
DocumentRoot /var/www/project/web
4646
<Directory /var/www/project/web>
4747
AllowOverride All
48-
Order allow, deny
48+
Order Allow,Deny
4949
Allow from All
5050
</Directory>
5151
@@ -76,7 +76,7 @@ and increase web server performance:
7676
DocumentRoot /var/www/project/web
7777
<Directory /var/www/project/web>
7878
AllowOverride None
79-
Order allow, deny
79+
Order Allow,Deny
8080
Allow from All
8181
8282
<IfModule mod_rewrite.c>
@@ -110,7 +110,7 @@ and increase web server performance:
110110
Using mod_php/PHP-CGI with Apache 2.4
111111
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112112

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

116116
.. code-block:: apache
@@ -223,7 +223,7 @@ should look something like this:
223223
<Directory /var/www/project/web>
224224
# enable the .htaccess rewrites
225225
AllowOverride All
226-
Order allow, deny
226+
Order Allow,Deny
227227
Allow from all
228228
</Directory>
229229

0 commit comments

Comments
 (0)