File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -31,16 +31,22 @@ to use PHP :ref:`with Nginx <web-server-nginx>`.
3131
3232.. _web-server-apache-mod-php :
3333
34- Using Symfony Flex in Apache
35- ----------------------------
34+ Adding Rewrite Rules
35+ --------------------
3636
37- The recommended way is to install the apache recipe by executing the following command:
37+ The easiest way is to install the apache recipe by executing the following command:
3838
3939.. code-block :: terminal
4040
41- $ cd my-project/
4241 $ composer require symfony/apache-pack
4342
43+ This recipe will install the ``.htaccess` file in the ``public/ `` directory.
44+
45+ .. tip ::
46+
47+ A performance improvement can be achieved by putting the rewrite rules in your
48+ VirtualHost block and changing ``AllowOverride All `` to ``AllowOverride None ``.
49+
4450Apache with mod_php/PHP-CGI
4551---------------------------
4652
You can’t perform that action at this time.
0 commit comments