Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MushuLeDragon/3a9218f919eb1b4a435f536ad172b92b to your computer and use it in GitHub Desktop.
Save MushuLeDragon/3a9218f919eb1b4a435f536ad172b92b to your computer and use it in GitHub Desktop.
.htaccess for php projects
# Deny access to filenames starting with dot(.)
<FilesMatch "^\.">
Order allow,deny
Deny from all
</FilesMatch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment