artabro/site/templates/.htaccess

13 lines
332 B
ApacheConf
Raw Permalink Normal View History

2024-08-27 11:35:37 +02:00
# Start ProcessWire:pwbphp (update 17)
# block all PHP files (optional fallback if root .htaccess missing)
<FilesMatch "\.(php|module|inc)$">
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
</FilesMatch>
# End ProcessWire:pwbphp