• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Problem with basic http auth (password protected dirs)

TorbHo

Basic Pleskian
Server operating system version
Linux Ubuntu 20 LTS
Plesk version and microupdate number
Newest
Hello,

I had this problem once, but I could solved it by recreating the subscription. Now I have the same problem with another subscription.

We have several domains, which have password protected directories (basic httpauth).

Now some files and directories could not be opened, error 401.

I looked into the error log and found the following lines:
(2)No such file or directory: AH01620: Could not open password file: /var/www/vhosts/system/xxx.domain.com/pd/d..httpdocs

I already tried recreating the auth file, by adding and removing a new user, but that does not work.
I even tried "plesk repair fs xxx.domain.com" and "plesk repair web xxx.domain.com"

How can I solve this error?
 
Just to complement: when I remove the password protection from domain, everything works as expected. When I switch it on again, I receive error 404 for all files in subdirectories, not 401 as mentioned above.
 
Back
Top