• 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

Cannot password protect httpsdocs directories

DickenW

New Pleskian
Some of the domains hosted on my Plesk box were setup under older version of Plesk to have separate directories for http and https.

Since version 10 of Plesk, if I create a new directory under the httpsdocs part of the domain, I cannot set a password for it the Control Panel. A password can only be set for directories in the httpdocs part of the domain.

Guess something went wrong while the directories were converted over during the 9.x --> 10.x upgrade process? Can someone tell me if this can be fixed?
 
According, my experimentation, it was already the case in Plesk 9.x, no way to fix a password directory on httpsdocs.
However you can always create manually htaccess and htpasswd file to create a password directory. (In this cas, Google is your friend ;))
 
It definitely worked fine (for me) under Plesk 9.x

The problem with .htaccess is Plesk doesn't keep the files in a standard place. There are already some 30-40 password protected directories, per domain, on this server, and just adding .htaccess and .htpasswd files doesn't work
 
Back
Top