• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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