Created
April 8, 2018 05:23
-
-
Save Sharifur/095183cb4a86802751967147fca4ec5d to your computer and use it in GitHub Desktop.
hide laravel .env file . to direct access
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disable index view | |
Options -Indexes | |
# Hide a specific file | |
<Files .env> | |
Order allow,deny | |
Deny from all | |
</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment