Skip to content

Instantly share code, notes, and snippets.

View kunglaw's full-sized avatar
🎯
Focusing

Aries Dimas Yudhistira kunglaw

🎯
Focusing
  • klikdokter
  • Slipi Jakarta barat
View GitHub Profile
@shakee93
shakee93 / .htaccess
Created January 31, 2017 17:45
Laravel Apache hide .env and several security settings via .htaccess
# Disable Directory listing
Options -Indexes
# block files which needs to be hidden // in here specify .example extension of the file
<Files ~ "\.(env|json|config.js|md|gitignore|gitattributes|lock)$">
Order allow,deny
Deny from all
</Files>
# in here specify full file name sperator '|'