• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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