Create a gist now

Instantly share code, notes, and snippets.

@roscabgdn /.htaccess
Last active Apr 25, 2016

What would you like to do?
Protejarea .htaccess
# PROTECTING THE .HTACCESS FILE
<Files ~ "^.*.([Hh][Tt][Aa])">
Order Allow,Deny
Deny from all
Satisfy all
</Files>
# PROTECT .htaccess
<Files .htaccess>
order allow,deny
deny from all
</Files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment