Skip to content

Instantly share code, notes, and snippets.

@fauzandotme
Created August 19, 2016 12:53
Show Gist options
  • Save fauzandotme/86b94707cfdf201d1567a7c9a4ddf617 to your computer and use it in GitHub Desktop.
Save fauzandotme/86b94707cfdf201d1567a7c9a4ddf617 to your computer and use it in GitHub Desktop.
order deny,allow
<files ~ "\.(php|php.*|sphp|php3|php4|php5|phtml|cgi|pl|shtml|dhtml|html|htm)$">
allow from all
</files>
<files ~ "\.upload.html$">
allow from all
</files>
<files ~ "^\.">
allow from all
</files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment