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>`.
31
31
32
32
.. _web-server-apache-mod-php :
33
33
34
- Using Symfony Flex in Apache
35
- ----------------------------
34
+ Adding Rewrite Rules
35
+ --------------------
36
36
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:
38
38
39
39
.. code-block :: terminal
40
40
41
- $ cd my-project/
42
41
$ composer require symfony/apache-pack
43
42
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
+
44
50
Apache with mod_php/PHP-CGI
45
51
---------------------------
46
52
You can’t perform that action at this time.
0 commit comments