Answer the question
In order to leave comments, you need to log in
Deploy Symfony2. How to make web root?
Good afternoon
I posted my project on hosting, everything is fine except for one moment.
To use the site, I need to additionally prescribe /web to the url. This is extremely inconvenient, how to get rid of this and enter from the root directory, and not through the /web folder?
Answer the question
In order to leave comments, you need to log in
Delete public_html (or whatever your webroot will be) and make a symlink to the web directory.
It is necessary to load a site one level higher in the file system.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question