• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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