• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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