Last active
February 10, 2018 15:01
-
-
Save antonio-abrantes/a63afcfafc6a55350fbc37780632469a to your computer and use it in GitHub Desktop.
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
RewriteEngine On | |
<Files *.php> | |
Order Deny,Allow | |
Deny from all | |
</Files> | |
<Files index.php> | |
Order Allow,Deny | |
Allow from all | |
</Files> | |
<Files nome_arquivo.php> | |
Order Allow,Deny | |
Allow from all | |
</Files> | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^(.*)$ index.php [QSA,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment