• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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