79815794

Date: 2025-11-10 15:34:18
Score: 1
Natty:
Report link

I think this could be the answer : https://serverfault.com/questions/648262/filesmatch-configuration-to-restrict-file-extensions-served

It says that the FileMatch is before the DirectoryIndex so you have to add your root to the allowed strings

<FilesMatch "(^$)|^.*\.(css|html?|js|pdf|txt|gif|ico|jpe?g|png|pl|php|json|woff|woff2|eot|svg|map)$">
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: François Breton