Skip to content

Added a note about the .htaccess files included by Symfony apps #7658

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 2 commits into from

Conversation

javiereguiluz
Copy link
Member

This fixes #7625.

Copy link
Member

@xabbuh xabbuh left a comment

Choose a reason for hiding this comment

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

👍

By default, Symfony applications include several ``.htaccess`` files to
configure redirections and to prevent unauthorized access to some sensitive
directories. Those files are only useful when using Apache, so you can
safely remove them when using Nginx.
Copy link
Contributor

Choose a reason for hiding this comment

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

I would also add that they would better be replaced by a virtual host config for performance reasons.

@xabbuh
Copy link
Member

xabbuh commented Apr 15, 2017

Thank you @javiereguiluz.

xabbuh added a commit that referenced this pull request Apr 15, 2017
…y apps (javiereguiluz)

This PR was squashed before being merged into the 2.7 branch (closes #7658).

Discussion
----------

Added a note about the .htaccess files included by Symfony apps

This fixes #7625.

Commits
-------

60658aa Added a note about the .htaccess files included by Symfony apps
@xabbuh xabbuh closed this Apr 15, 2017
@javiereguiluz javiereguiluz deleted the fix_7625 branch May 24, 2018 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants