Files
plugi/uploads/.htaccess
T
deepDiverPaul 25030638a4 Implemented: editor uploads are constrained to safe image files inside
the upload tree, and public form submissions are
size-bounded and rate-limited
2026-11-30 16:51:15 +01:00

17 lines
409 B
ApacheConf

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule \.(?:php[0-9]*|phtml|phar)(?:/|$) - [F,NC]
</IfModule>
<IfModule mod_authz_core.c>
<FilesMatch "(?i)\.(php[0-9]*|phtml|phar)$">
Require all denied
</FilesMatch>
</IfModule>
<IfModule mod_access_compat.c>
<FilesMatch "(?i)\.(php[0-9]*|phtml|phar)$">
Order allow,deny
Deny from all
</FilesMatch>
</IfModule>