I'm trying to protect a single url using htaccess password. (it's my admin page)
After some research, I found (on stackoverflow) the solution : use SetEnvIf to detect the URL and then ask password only when we have the URL.
I tested it but that didn't work : the password was asked everytime. After investigation with my host, it seems they are runnig LITESPEED (and not Apache) and the module SetEnvIf is not activated. As a result, I am stuck... Can I do it differently ?