A code is worth a thousand words

401 Unauthorized Error with https redirection

You are here

Got an unauthorized error from htaccess passwords after https redirection implementation. This was an unexpected result, but I guess what happens is that you are redirected to access denied page without getting the password prompt, due to access restriction and redirect simultaneous combination.