I'm trying to block all files that contains the keyword cpf
and I've entered this into the apache2 configuration:
<FilesMatch "cpf.*$">
Require all denied
</FilesMatch>
and this blocked a file called name.cpf, but not name.cpfs and name.cpfs.bak
me and regex isn't compatible..
and if possible, throw a 404 not found instead of access denied?