I have in my /home/sammy/public_html/cache/.htaccess
Options +Indexes<Files *>AuthType BasicAuthName "Authentication Required"AuthUserFile /home/sammy/public_html/cache/.htpasswdRequire valid-user</Files>
But I only want the directory listing password protected - not the file itself.
Issue is, when I go to example.test/cache/somefile.pdf
it’s prompting for the username and password.