Created
November 12, 2024 05:51
-
-
Save Sharifur/d5234dbabb56ba51c0eeef7d330fdc29 to your computer and use it in GitHub Desktop.
prevent executing php file in a particular folder
This file contains hidden or 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
<FilesMatch "\./(php|php5|php7|php8|phtml)$"> | |
Deny from all | |
</FilesMatch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment