Files
HotLunches/square/.htaccess
T
2026-10-19 15:22:52 -07:00

22 lines
556 B
ApacheConf

# Deny direct web access to files that hold secrets or internal data.
<FilesMatch "^(config|db_config|local-dev-bootstrap|seed_test_connection)\.php$">
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
</FilesMatch>
<FilesMatch "\.(json|gz|pem)$">
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
</FilesMatch>