8000 Flex node for Apache · Pull Request #8806 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Flex node for Apache #8806

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Added the Flex node for Apache.
  • Loading branch information
ricardodevries committed Dec 1, 2017
commit e00a0f1e6cef347f3c50374a6564f6aca9d88938
10 changes: 10 additions & 0 deletions setup/web_server_configuration.rst
8000
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@ to use PHP :ref:`with Nginx <web-server-nginx>`.

.. _web-server-apache-mod-php:

Using Symfony Flex in Apache
----------------------------

The recommended way is to install the apache recipe by executing the following command:

.. code-block:: terminal

$ cd my-project/
$ composer require symfony/apache-pack

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One way or another, the user will need the rewrite rules. They can either put them in public/.htaccess or put them in their virtual host. So:

  • Let's rename this section to something like "Adding Rewrite Rules"
  • Change the text from "recommended way" to "the easiest way".
  • We should also say (in the text) what this does: it will install a public/.htaccess file
  • No need to show the cd my-project

Then, after the command, mention that you can get a performance boost by putting the rewrite rules in your VirtualHost and changing AllowOverride All to AllowOverride None

Apache with mod_php/PHP-CGI
---------------------------

Expand Down
0