• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Can't remove protection from protected directories

Have you tried ro reconfigure vhost with httpdmng utility?
 
# /usr/local/psa/admin/sbin/httpdmng --reconfigure-domain domain.com

where 'domain.com' is name of your domain.
 
THanks Igor!

Launched the reconfigure and then tried again to access the dir. No success. Keeps asking for credentials
 
What about

# /usr/local/psa/bin/protdir -r <dir_name>

Also look at -remove_user option for protdir utility.
 
# /usr/local/psa/bin/protdir -r /path/to/dir/dirname
Required option "-domain <domain_name>" is not set

# /usr/local/psa/bin/protdir -r /var/www/vhosts/xxxxx.com/httpdocs/importer -domain xxxxx.com
Unable remove protected dir: Can't find protected dir with given name /path/to/dir/dirname

# /usr/local/psa/bin/protdir -remove_user admin /path/to/dir/dirname -domain xxxxx.com
Unknown command: -remove_user
 
# /usr/local/psa/bin/protdir -remove_user admin /path/to/dir/dirname -domain xxxxx.com
Unknown command: -remove_user
-remove_user is option and should be used after command. For example:

# /usr/local/psa/bin/protdir -u /path/to/dir/dirname -domain domain.com -remove_user admin

If /path/to/dir/dirname goes not exists, create this protected directory again with protdir utility and the same username and password and then romove it as it is described above.
 
I created the new user = SUCCESS
I tried to access that dir via browers = same problem - access not granted

then I deleted the user with the command line you suggested (including option -type wwwroot) = SUCCESS
I tried again to access that dir via browers = same problem - access not granted

my domain name includes a dash like xxxx-yyyy.com

I gave up. I moved all the content in a newly created directory and removed the original one.

Thank you Igor!

I am available to try to resolve the issue if you want.
Best,
Gabriele
 
Back
Top