Skip to content

Instantly share code, notes, and snippets.

@roscabgdn
Last active April 25, 2016 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roscabgdn/5020d48f58d1241607a271d8046b2e54 to your computer and use it in GitHub Desktop.
Save roscabgdn/5020d48f58d1241607a271d8046b2e54 to your computer and use it in GitHub Desktop.
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