Skip to content

Commit c41d59b

Browse files
committed
minor #20016 Add a short mention to apache-pack in the web server docs (javiereguiluz)
This PR was squashed before being merged into the 5.4 branch. Discussion ---------- Add a short mention to apache-pack in the web server docs Fixes #19649. Commits ------- 3533f96 Add a short mention to apache-pack in the web server docs
2 parents f90d149 + 3533f96 commit c41d59b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

setup/web_server_configuration.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,14 @@ directive to pass requests for PHP files to PHP FPM:
9595
CustomLog /var/log/apache2/project_access.log combined
9696
</VirtualHost>
9797
98+
.. note::
99+
100+
If you are doing some quick tests with Apache, you can also run
101+
``composer require symfony/apache-pack``. This package creates an ``.htaccess``
102+
file in the ``public/`` directory with the necessary rewrite rules needed to serve
103+
the Symfony application. However, in production, it's recommended to move these
104+
rules to the main Apache configuration file (as shown above) to improve performance.
105+
98106
Nginx
99107
-----
100108

0 commit comments

Comments
 (0)