How to enable Apache DIGEST Authentivation everywhere on files and subdirectories

Solution 1:

I just found a solution :

The problem comes from the files : without telling the files the Authentication applies, it only applies on the directories and files keep served !

<Files *>
         AuthType DIGEST
         AuthName "preproduction"
         AuthDigestNonceLifetime 1
         AuthDigestDomain "https://preprod.user.com/"
         AuthDigestProvider file
         AuthUserFile "/web/auth/.digest_pw"
         Require valid-user
</Files>

Bye !