The server software reads the config file and then decides if the folder can be accessed externally or not.
It has nothing to do with PHP what framework or any other language you are running.
Yup. That's why I am saying that in the past .htaccess used to be used, but modern php frameworks no longer rely on it. Poor phrasing on my end.
The server software reads the config file and then decides if the folder can be accessed externally or not.
It has nothing to do with PHP what framework or any other language you are running.