mirror of https://github.com/itflow-org/itflow
Update .htaccess
This commit is contained in:
parent
b336ec4188
commit
2ee70fd3a8
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue