mirror of
https://github.com/itflow-org/itflow
synced 2026-11-23 04:47:25 +00:00
11 lines
342 B
ApacheConf
11 lines
342 B
ApacheConf
Options -ExecCGI -Indexes
|
|
# php_flag is mod_php's - under PHP-FPM Apache refuses it with a 500, and the rules below keep PHP out
|
|
<IfModule mod_php.c>
|
|
php_flag engine off
|
|
</IfModule>
|
|
RemoveHandler .php .phtml .phar .phps
|
|
RemoveType .php .phtml .phar .phps
|
|
<FilesMatch "\.(php|phtml|phar|phps|cgi|pl|sh)$">
|
|
Require all denied
|
|
</FilesMatch>
|