« Installation de configuration du serveur web Apache 2.4 sous Debian Bullseye » : différence entre les versions

Aller à la navigation Aller à la recherche
Ligne 109 : Ligne 109 :
</FilesMatch>
</FilesMatch>


# Disable access to htpasswd and htdigest files as some user don't make them hidden
# Disable access to htpasswd and htdigest files as some users don't make them hidden
<FilesMatch "htpasswd">
<Files htpasswd>
         Require all denied
         Require all denied
</FilesMatch>
</Files>
<FilesMatch "htdigest">
<Files htdigest>
         Require all denied
         Require all denied
</FilesMatch>
</Files>


# 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
4 203

modifications

Menu de navigation