• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

websrvmng error

I

Issa

Guest
Hello,

I try to protect plesk-stat directory with bash script.

I use this command websrvmng --add-protection --vhost-name=$domaine
--directory=/plesk-stat/, i have no error but that
doesn't work.

Please help me!
 
Do you have the box for "(accessible via password protected directory '/plesk-stat/' )" checked in the control panel?
 
Hello,

I have exactly the same problem.
The websrvmng --remove-protections and --add-protection options don't work. The checkbox in plesk control panel is not toggled when using this script "manually". Moreover, the "Auth" section in httpd.include is not added nor removed.
I tried to run websrvmng --reconfigure ... but it didn't make it.

Is there anything else to run ?

I need that to create automatic scripts that create client accounts, domains, permissions, and enable htaccess for directory /plesk-stat.

Thanks

Laurent
 
Back
Top