Forums Forums (
-   Scripting / API (
-   -   Access Deny (

koldstar 07-28-2011 03:04 PM

Access Deny

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


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:38 AM.

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