# Protect uploaded files: never execute them, never list them, and never serve
# them raw over HTTP. The application reads them from disk with PHP and renders
# a highlighted view instead.
# Disable PHP execution (covers several handler configs).
php_flag engine off
php_flag engine off
php_flag engine off
# Also neutralise scripts by handler, in case the engine flag is unavailable.
RemoveHandler .php .phtml .php3 .php4 .php5 .php7 .phps .cgi .pl .py
AddType text/plain .php .phtml .php3 .php4 .php5 .php7 .phps
Options -Indexes
Require all denied