# Block direct execution of scripts inside the uploaded-software folder.
# Guarded for both Apache 2.4 (mod_authz_core) and Apache 2.2 (mod_access_compat)
# so this never causes a config error regardless of which the server has.
<IfModule mod_authz_core.c>
    <FilesMatch "\.(php|phtml|php3|php4|php5|phps|phar|pht|cgi|pl)$">
        Require all denied
    </FilesMatch>
</IfModule>
<IfModule !mod_authz_core.c>
    <FilesMatch "\.(php|phtml|php3|php4|php5|phps|phar|pht|cgi|pl)$">
        Order allow,deny
        Deny from all
    </FilesMatch>
</IfModule>

Options -Indexes
