# Yuklenen dosyalar servis edilir ama asla calistirilmaz.
#
# php_flag YOK: mod_php'ye ozgudur, PHP-FPM altinda Apache'yi 500 ile
# dusurur. Calistirilabilir uzantilara erisimi tumden kapatmak hem daha
# tasinabilir hem daha kesin.

<FilesMatch "\.(php|php[0-9]|phtml|phar|phps|pl|py|cgi|sh|bash|htaccess|htpasswd)$">
    <IfModule mod_authz_core.c>
        Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
        Order allow,deny
        Deny from all
    </IfModule>
</FilesMatch>

<IfModule mod_headers.c>
    Header always set X-Content-Type-Options "nosniff"
</IfModule>

Options -Indexes -ExecCGI
