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.
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.