• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Same User for Multiple Protected Directories

J

jr119

Guest
I have recently started using PLESK as part of a hosting plan. I have migrated a site to the server and am using PLESK to manage it.

On the previous site I had a number of directories protected using htaccess and htdigest. In this there were several directories each with unique users and 2 common directories available to all users. For example

/internal/bola/ - available to users; admin, bola
/internal/dla/ - available to users; admin, dla
/internal/nhp/ - available to users; admin, nhp

/internal/common/ - available to users; admin, bola, dla, nhp
/internal/reports/ - available to users; admin, bola, dla, nhp

For example if I logged in as admin, I could view files in all directories once I had logged in once. If I logged in as bola I could view 3 directories after a single log in.

The htaccess/htdigest used identical usernames, passwords and realms for each of the users. These were set in each directory. This meant that once a user had provided the correct username and password, they were also automatically approved for the 2 common directories.

I have tried to replicate this in PLESK using the protected directories options, and adding the same users and passwords to the appropriate directories. However if I log in now as bola to the /internal/bola directory it also asks me for my passwords for the common and reports directories.

If I log in as admin, I have to enter a username and password for each directory each time I visit it for the firsttime. Is it possible to replicate my htaccess/htdigest set up with PLESK or am I better of configuring it manually.

I am unsure if the matter if further complicated by the fact that the old system used http and the new one is https.
 
Back
Top