ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   Scripting / API (http://forum.ispsystem.com//forumdisplay.php?f=13)
-   -   Access Deny (http://forum.ispsystem.com//showthread.php?t=1492)

koldstar 07-28-2011 03:04 PM

Access Deny
 
Hi

I'm trying to do some tasks using the API but I have ran into a problem: It works fine when i execute my command through the URL in the browser, but when I try to run it from my PHP script I get the error: "Access Deny"

The script is running on the main domain on the same server as ISPmanager. Do I have to allow the script access somewhere?

vian 07-28-2011 03:51 PM

It happens because you have to authorize on a server. To do it use parameter "authinfo=user:pass"

koldstar 07-28-2011 04:14 PM

Thanks.

I already got it in the URL and I just found out that it works with the root user. What I really like is to use a Resseller acount for athentication. Is that posible?

slava 07-28-2011 06:29 PM

What command you can't run as reseller? Please show API URL string.


All times are GMT +2. The time now is 12:46 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.