Skip to content

Commit 3c853e8

Browse files
committed
[#3077] Tweaking formatting on Apache 2.4 warning
1 parent 0d9b720 commit 3c853e8

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

cookbook/configuration/web_server_configuration.rst

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,23 +48,20 @@ following configuration snippet:
4848

4949
.. code-block:: apache
5050
51-
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
52-
53-
54-
Note:
55-
-----
51+
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
5652
57-
In Apache 2.4, ``Order allow,deny`` has been replaced by ``Require all granted``, and hence
58-
you need to modify your Directory permission settings as follows:
53+
.. caution::
5954

60-
.. code-block:: apache
61-
62-
<Directory /var/www/project/web>
63-
# enable the .htaccess rewrites
64-
AllowOverride All
65-
Require all granted
66-
</Directory>
55+
In Apache 2.4, ``Order allow,deny`` has been replaced by ``Require all granted``,
56+
and hence you need to modify your Directory permission settings as follows:
57+
58+
.. code-block:: apache
6759
60+
<Directory /var/www/project/web>
61+
# enable the .htaccess rewrites
62+
AllowOverride All
63+
Require all granted
64+
</Directory>
6865
6966
Nginx
7067
-----

0 commit comments

Comments
 (0)