I am using Laravel 5.1
I recently uploaded my project in shared hosting. but when i browse http://siteAddress.com/local/.env
my .env file is visible.
Is there any way to hide this file or redirect people if they want browse the site with folder view?
.htaccess
file. – Drabbet.htaccess
file in root. And it's working. @Drabbet – Mercurio