• 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.

API Issue + Solution

D

davex2cms

Guest
Hi,

Issue
===================================

Ive been having problems with the protected URL feature, the feature works with sites created through plesk administration but i noticed since 7.5.6 that sites created with the API the protected URL feature wasnt working properly.

The issue is caused by a change to the database hosting table -> 'server_id' which is blank for domains created with the API's with version 7.5.6 and maybe earlier versions.

Solution
===================================

The hosting table -> 'server_id' field should have the IIS identifier for your domain e.g. if you your domain is mysite.com and has an IIS identifier of 12345 then you need to have 12345 in server_id field for the domain.

The protected URL feature will work properly now, if you have existing directorys protected, remove them and add them again after inserting the server_id.

DEVS
===================================
Please fix this issue with the API!

Regards,

Dave
 
Update : plesk support suggests -

To solve this issue you should perform the following command:
"%plesk_bin%\websrvmng.exe" --update-all-server-id.
 
Back
Top