• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Issue Problem with basic http auth (password protected dirs)

TorbHo

Regular 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