In reply to:
Ok, it appears there is some delay (a few seconds or more)? I now see the wrong result for several reloads, and then it will turn into the right result.
Each time you view a web page, your computer has to make connections to the DreamHost computer to download stuff. In order to reduce the number of connections, your browser will decide how long it it keeps something around before it tries downloading it again. Thus if it decides to wait a minute, it will be at least a minute before another connection to the DreamHost computer is made, and your browser is told it can't have what it downloaded a minute ago.
In reply to:
This is regardless of restarting the browser. I restarted and still saw the wrong result, and then it changed. (I'm using Firefox.) I don't want to clear the cache, would rather do reload. That seems to be adequate here but I will add your suggestion to my testing repertoire ;)
Restarting the browser would only clear the memory cache. The browser also stores web pages in a disk cache. To override the cache mechanism, use Ctrl-F5 or hold down Shift when clicking on the Reload button.
In reply to:
Ok, I got it. So it’s dhapache that follows “other” permissions. But somehow dhapache doesn’t need (??) the “other read” permission when the .htpasswd file is in the same directory as the .htaccess file, because this is how DH sets it up and it works.
The Web Panel changes the group ownership of the .htpasswd file to that of the same group as 'dhapache'. And since the group-readable permission is enabled, this allows 'dhapache' to read the passwords.
Perl / MySQL / HTML+CSS