Need help with .htaccess file issue
My .htaccess file is pretty complete, and has most of the security features I would like, but it is actually blocking something I need to have accessible.
I want to block access to all xml files, except 3 specific files. Currently, my .htaccess file contains the following lines:
This does its job well in blocking all access to all xml files.
## Deny access to extension xml files (uncomment out to activate)
<Files ~ "\.xml$">
Deny from all
## End of deny access to extension xml files
However, I want to allow access to the following 3 files:
where mydomain.com is my web site address.
How do I block all XML files except these three?