Skip to content

Instantly share code, notes, and snippets.

@kolyadin
Created August 8, 2014 13:46
Show Gist options
  • Save kolyadin/d45ba13b4aedfec1164e to your computer and use it in GitHub Desktop.
Save kolyadin/d45ba13b4aedfec1164e to your computer and use it in GitHub Desktop.
deny from all
<Files ~ "^\w+\.(gif|jpe?g|png)$">
order deny,allow
allow from all
</Files>
<IfModule mod_php5.c>
php_flag engine off
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment