I setup a .htaccess file to require authentication for a directory. I would like to exempt certain files (csv) to avoid some issues with downloading.
I can limit the authentication to the files by doing:
<files ~ "\.csv$">
require valid-user
</files>
But how can I negate(!) them so ALL files except csv files require authentication?