I have a rewrite condition for specific file types like so:
RewriteCond %{REQUEST_URI} .*(\/|.htaccess|.htpasswd|.ini|.log)$
This works fine for files with those file extensions however I can't figure out how to make it also match files with no extension.
Eg. cats.com/regularfile.ini and cats.com/regularfile should both trigger the condition.
Any ideas?
I am fine if the no extension condition needs to be separate but it should trigger whether the file actually exists or not as my current rule does.