• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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