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

PLESK8 API Bug?

Discussion in 'Plesk for Linux - 8.x and Older' started by Traged1, May 13, 2006.

  1. Traged1

    Traged1 Guest

    0
     
    According to the documnetation for CU & API:
    /usr/local/psa/admin/plib/api-cli/domain.php --help

    However, we try this on the command line

    /usr/local/psa/admin/plib/api-cli/domain.php --off domainname.com

    and it does not enable or disable the domain.

    Is this a bug or am I missing something?
     
  2. Traged1

    Traged1 Guest

    0
     
    I just send in a bug report, so when the SWSoft techs respond, I will post.
     
  3. Traged1

    Traged1 Guest

    0
     
    Well, the techs don't understand exactly what I am talking about, they told me to use domain.sh instead of domain.php which is really just a symlink to the domain.php file, so that did not help.

    As a work around I found the new syntax:

    /usr/local/psa/admin/plib/api-cli/domain.php --update domain.com -status disabled

    Hopefully this will help you third parties out there?
     
Loading...