问题
I want to protect an access that contains certain parameter using basic auth in .htaccess file.
For example, I want to require Basic Auth for an access to
/test.html?protected=yes
and allow access to
/test.html?protected=no
without basic auth.
Is this possible?
来源:https://stackoverflow.com/questions/61219950/applying-basic-auth-to-certain-parameter