Created
September 9, 2022 16:52
-
-
Save ayhanbaris/31b7e57d5e35cfacf563e27af7f764bf to your computer and use it in GitHub Desktop.
disable php execution on users content upload folders
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
#we dont want executable php files here | |
RemoveHandler .php .phtml .php3 | |
RemoveType .php .phtml .php3 | |
php_flag engine off | |
<Files *.php> | |
deny from all | |
</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment