# Folder unggahan: hanya boleh berisi berkas statis.
# Catatan: direktif <Directory> TIDAK sah di dalam .htaccess dan akan
# menyebabkan HTTP 500 pada seluruh situs — jangan pernah ditambahkan di sini.

Options -Indexes -ExecCGI

# Jangan pernah mengeksekusi skrip yang terunggah.
<FilesMatch "\.(php|phtml|phar|php[0-9]|pl|py|cgi|sh|asp|aspx|jsp|htaccess)$">
    Require all denied
</FilesMatch>

RemoveHandler .php .phtml .phar .php3 .php4 .php5 .php7 .php8
RemoveType .php .phtml .phar

<IfModule mod_php.c>
    php_flag engine off
</IfModule>
