how specify authentication not required for for folder in htaccess folder stackoverflow code example
Example: how specify authentication not required for for folder in htaccess folder stackoverflow
AuthType Basic
AuthName "NO PUBLIC ACCESS"
AuthUserFile /xxx/.htpasswd
SetEnvIf REQUEST_URI "(path/to/directory/)$" ALLOW
<RequireAny>
Require env ALLOW
Require valid-user
</RequireAny>