1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

API Issue + Solution

Discussion in 'Plesk for Windows - 8.x and Older' started by davex2cms, Apr 30, 2006.

  1. davex2cms

    davex2cms Guest

    0
     
    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
     
  2. davex2cms

    davex2cms Guest

    0
     
    Update : plesk support suggests -

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