Hi there,
I am trying to prevent front-end access to .ini files. I tried doing this via the .htaccess
file, but none of my approaches had any impact. For example:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule \.ini$ - [F,L]
</IfModule>
This had no effect.
I also tried:
<FilesMatch "\.ini$">
Require all denied
</FilesMatch>
which also had no effect.
The server and site is using the default Apache2 server type.
What am I over-looking?
Thanks,
Jonathan