# Preserve generated images; this file contains only delivery/protection rules.
Options -Indexes -ExecCGI
<FilesMatch "(?i)\.(php[0-9]*|phtml|pht|phar|cgi|pl|py|sh|shtml)([./]|$)">
    Require all denied
</FilesMatch>
# Media delivery is authorized by the root rewrite and PHP gateway.
<FilesMatch "^\.">
    Require all denied
</FilesMatch>
