I have a testing site which has a Require valid-user directive, employing Apache's mod_auth to keep it private, but I'd like to exempt a single file from this requirement (i.e. make it so that you don't need a username / password to access that one file, even though you need a username/password for the rest of the site).
Right now, I have...
AuthUserFile /path/to/htpasswd
AuthType Basic
AuthName "My Private Site"
Require valid-user
<Files filename.txt>
Allow from All
Satisfy Any
</Files>
But that doesn't seem to quite be doing the trick (I can see the file, but only after being prompted for a username/password and clicking cancel).
What am I doing wrong?