Last active
April 25, 2016 17:25
-
-
Save roscabgdn/5020d48f58d1241607a271d8046b2e54 to your computer and use it in GitHub Desktop.
Protejarea .htaccess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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