stage #2
@@ -1,11 +1,7 @@
|
|||||||
php_flag engine off
|
|
||||||
RemoveHandler .php .phtml .php3 .php4 .php5 .php7 .php8
|
|
||||||
RemoveType application/x-httpd-php
|
|
||||||
<FilesMatch "\.(php|phtml|php[0-9])$">
|
|
||||||
Deny from all
|
|
||||||
</FilesMatch>
|
|
||||||
Options -ExecCGI
|
Options -ExecCGI
|
||||||
AddHandler cgi-script .cgi .pl .sh .bash .zsh
|
php_flag engine off
|
||||||
<FilesMatch "\.(cgi|pl|sh|bash|zsh)$">
|
RemoveHandler .php .phtml .phar .phps
|
||||||
Deny from all
|
RemoveType .php .phtml .phar .phps
|
||||||
</FilesMatch>
|
<FilesMatch "\.(php|phtml|phar|phps|cgi|pl|sh)$">
|
||||||
|
Require all denied
|
||||||
|
</FilesMatch>
|
||||||
|
|||||||
Reference in New Issue
Block a user