Skip to content

Commit a525387

Browse files
committed
minor #20995 Updating the web_server_configuration.rst File (ilyabakhlinlebedev)
This PR was submitted for the 7.2 branch but it was merged into the 6.4 branch instead. Discussion ---------- 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`. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `7.x` for features of unreleased versions). --> Commits ------- ff3a594 Updating the web_server_configuration.rst File
2 parents f99ba6c + ff3a594 commit a525387

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)