Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

hide env file in laravel

# Disable index view
Options -Indexes

# Hide a specific file
<Files .env>
    Order allow,deny
    Deny from all
</Files>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #hide #env #file #laravel
ADD COMMENT
Topic
Name
9+8 =