Skip to content

Instantly share code, notes, and snippets.

Created January 13, 2014 08:09
Show Gist options
  • Select an option

  • Save anonymous/8396418 to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/8396418 to your computer and use it in GitHub Desktop.
Deny php files.
<filesmatch "\.(php|php3|phps|cgi|pl|inc|phtml|aspx|aspx)">
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