4 203
modifications
Ligne 123 : | Ligne 123 : | ||
# Deny access to most php project configuration files (localsettings.php, config.php but also things like config.anything.php | # Deny access to most php project configuration files (localsettings.php, config.php but also things like config.anything.php | ||
<FilesMatch "(?i)^(wp-config|commonsettings|localsettings|config)(\.([a-z]|[0-9])+)*\.ph(ar|p|tml)$"> | <FilesMatch "(?i)^(config-db|wp-config|commonsettings|localsettings|config)(\.([a-z]|[0-9])+)*\.ph(ar|p|tml)$"> | ||
Require all denied | Require all denied | ||
</FilesMatch> | </FilesMatch> |