I have a Drupal site installed via composer, creating a structure like
vendor/ config/ composer.json etc/ web/core web/themes web/index.php web/etc
Is there a way to change the
web folder to a
public_html folder so I can use it on my hosting? So the structure needs to be:
vendor/ config/ composer.json etc/ public_html/core public_html/themes public_html/index.php public_html/etc
I got it working now by using .htaccess but I started using this method with the config outside of my root folder because of the security advantages. With this method, the config is still in my root but via htaccess I point everybody to the web folder. Is this still secure enough?
So how can I change this and is it necessary?