Skip to content

Commit 1e9afa3

Browse files
Updating the web_server_configuration.rst File
In the documentation, it's being said that Symfony requires the `symfony/apache-pack`, which adds a `.htaccess` file to the `public/` directory. However, it's nowhere specified to change the `AllowOverride` setting from `None` to `All`.
1 parent 8835d41 commit 1e9afa3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup/web_server_configuration.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@ directive to pass requests for PHP files to PHP FPM:
195195
If you are doing some quick tests with Apache, you can also run
196196
``composer require symfony/apache-pack``. This package creates an ``.htaccess``
197197
file in the ``public/`` directory with the necessary rewrite rules needed to serve
198-
the Symfony application. However, in production, it's recommended to move these
198+
the Symfony application. Don't forget to change the Apache's ``AllowOverride None`` setting to
199+
``AllowOverride All``. However, in production, it's recommended to move these
199200
rules to the main Apache configuration file (as shown above) to improve performance.
200201

201202
Caddy

0 commit comments

Comments
 (0)