• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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