Skip to content

Commit 712707d

Browse files
committed
Minor tweaks
1 parent a525387 commit 712707d

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

setup/web_server_configuration.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,14 @@ directive to pass requests for PHP files to PHP FPM:
192192
193193
.. note::
194194

195-
If you are doing some quick tests with Apache, you can also run
196-
``composer require symfony/apache-pack``. This package creates an ``.htaccess``
197-
file in the ``public/`` directory with the necessary rewrite rules needed to serve
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
200-
rules to the main Apache configuration file (as shown above) to improve performance.
195+
If you're running some quick tests with Apache, you can run
196+
``composer require symfony/apache-pack`` to create an ``.htaccess`` file in
197+
the ``public/`` directory with the rewrite rules needed to serve the Symfony
198+
application. Make sure Apache's ``AllowOverride`` setting is set to ``All``
199+
for that directory; otherwise, the ``.htaccess`` file will be ignored.
200+
201+
In production, however, it's recommended to move these rules to the main
202+
Apache configuration file (as shown above) to improve performance.
201203

202204
Caddy
203205
-----

0 commit comments

Comments
 (0)