• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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