I have been trying to figure this out for days. I have a setup like this:
and in my .htpasswd file I have
I have two problems actually. It will protect the directory but the files do not get password protected at all. I tried with a txt file and I can just put in the full url and it shows the txt. This only happens on a system I am running cpanel on, it doesn't occur on a lamp server after I configure to
(which I tried on this server as well but the linux file system is significantly different.
The second problem is, I can't authenticate with
as a format. Every tutorial I have seen says that format:
so why doesn't it work on multiple setups? Or again, is every person writing tutorials leaving a fundamental out which to the self taught folk like myself would not just inherently be in our heads.
I am at a loss.