How do i set this up
.https://MYserver:10000/virtual-server/
remote.cgi?program=list-domains.
I get this error
ERROR: You are not allowed to run remote commands
How do and what do i do to fix this error
I am running my website in cgi mode mod_cgi mod_perl mod_php5
I tried host.allow virtualmin: myserver,com :allow
I no its a permission thing but where do i fix them at (how to)
i am setting up billing app WHMCS with Virtualmin everything works perfect
except the Remote calls to the server
Any help would be most appreciated
thanks
----------------------Virtualmin api rules---------------------------------------
Remote API
The rules set forth in virtualmin documentation state
All remote calls must be made through the CGI /virtualserver/
remote.cgi. The full URL for this will be
.https://yourserver:10000/virtualserver/remote.cgi, where yourserver is the full hostname or IP address
of the system running Virtualmin.
This URL must be provided with at least one parameter named program, whose value must be the
name of the commandline
program to invoke, without the .pl extension. So a possible URL to request
would be: .https://yourserver:10000/virtualserver/remote.cgi?program=listdomains.
Because most commandline
programs require additional parameters, these must be included in the URL. Every CGI parameter is converted to a commandline
parameter, with the value of the parameter
appended if given. For example, to create a mail alias, you could invoke the URL:
.https://yourserver:10000/virtualserver/remote.cgi?program=createalias&domain=foo.com&from=sales&to=joe@foo.com
To specify a parameter that does not have anything after it, just add a CGI parameter with no value. For
example, to list databases in detailed form, you could call:
.https://yourserver:10000/virtualserver/remote.cgi?program=listdatabases&
domain=foo.com&multiline=
Both GET and POST format HTTP requests can be used. If your Virtualmin server is not running in
SSL mode, use .http:// instead of https:// in the URL.