DEV Community

Discussion on: Deploying Laravel 5 applications on shared hosting without the use of SSH

Collapse
 
osaigbovoemmanuel1 profile image
Osaigbovo Emmanuel

add

Order allow,deny
Deny from all

to the .htaccess file to prevent your .env file from being publicly accessible

Collapse
 
edetscript profile image
Abednego Edet

Awesome!

Some comments have been hidden by the post's author - find out more