Skip to content

Commit 0d9b720

Browse files
notprathapweaverryan
authored andcommitted
Update minimum directory permissions to reflect apache 2.4 changes
1 parent c3b3223 commit 0d9b720

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

cookbook/configuration/web_server_configuration.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,22 @@ following configuration snippet:
4949
.. code-block:: apache
5050
5151
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
52+
53+
54+
Note:
55+
-----
56+
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:
59+
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>
67+
5268
5369
Nginx
5470
-----

0 commit comments

Comments
 (0)