How to fix Laravel showing the directory structure on Apache
Prevent Laravel from showing the directory structure and instead show your application when using Apache. This is done by creating and assigning a new virtual host, to incorporate the /public…