Skip to content

Change web directory with public directory #8679

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 1 commit into from
Closed

Change web directory with public directory #8679

wants to merge 1 commit into from

Conversation

sgautier
Copy link
Contributor

No description provided.

@xabbuh
Copy link
Member

xabbuh commented Nov 16, 2017

Can you also update the text? This is embedded in a section called "The web directory" which mentions this directory several times.

@michaelperrin
Copy link
Contributor

Some other changes are needed too.

  • TheIt is also where the front controllers (index.php and index.php) live. should be fixed.
  • The # DEV section should be removed from the Nginx configuration
  • The "This executes only index.php, index.php and config.php in the web directory. All other files ending in ".php" will be denied." sentence should be fixed or removed.
  • The Nginx configuration should be updated to make use of the index.php front controller.

If needed I can open an other PR on this.

@weaverryan
Copy link
Member

Closing in favor of #8693. But, @michaelperrin included your commit there @sgautier! So your contribution will be recorded :)

@weaverryan weaverryan closed this Nov 21, 2017
weaverryan added a commit that referenced this pull request Nov 21, 2017
…perrin)

This PR was merged into the 4.0 branch.

Discussion
----------

Fix server configuration for Symfony 4

I started this PR from #8679 to add more fixes to it.

There is still one thing that is not correct, about `.htaccess` files that Symfony 4 doesn't provide anymore. This should be part of an other PR (and maybe create a recipe to create these files, I will look into it).

Commits
-------

d343c01 Update server configuration for Symfony 4
2ee2ce2 Change web directory with public directory
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.

5 participants