Am 30.09.2011 00:51, schrieb Jamie Cameron:
On 29/Sep/2011 01:44 Danny Löser <> wrote ..
Am 29.09.2011 08:38, schrieb Danny Löser:
Am 28.09.2011 22:11, schrieb Jamie Cameron:
On 28/Sep/2011 00:27 Danny Löser <> wrote ..
Am 27.09.2011 23:56, schrieb Jamie Cameron:

What parameters are you using for your API call ? 

On 27/Sep/2011 00:23 Danny Löser <> wrote ..

I have a problem.
If I edit a virtual server and modify it from a plan without mysql-DB to a plan within mysql-DB will not enabled the mysql-server(over the api).
Over the Interface will the feature under "enabled features" not activated. If I manually activate it, however, does it.
Neither functions under "enabled features" is automatically enabled or disabled, by modify.
This is a very great problem.
How do I get that it is automatically enabled or disabled according to whether what I have chosen in the plan?
In the logs is the following:
root [28/Sep/2011:09:02:40 +0200] "GET /virtual-server/remote.cgi?program=modify-domain& HTTP/1.1" 200 273 "" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2"
1317193360.4175.0 [28/Sep/2011 09:02:40] root - ipcop.localdomain virtual-server "remote" "" "" apply-plan='Die PC-Maus - Basic' argv='%252D%252Ddomain%2520webhosting1a%252Ede%2520%252D%252Dtemplate%2520%2522Die%2520PC%252DMaus%2520%252D%2520Basic%2522%2520%252D%252Dapply%252Dplan%2520%2522Die%2520PC%252DMaus%2520%252D%2520Basic%2522' domain='' plan-features='' template='Die PC-Maus - Basic'

Does that help?
I see the issue .. you also need to supply the plan-features= parameter to the API call if you want features to be modified to match the new plan.

 - Jamie

All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.

Forwarded by the Webmin mailing list at
To remove yourself from this list, go to
I wish only that the functions are activated, which had already been selected in the plan. I do not want to enable additional features that were not selected in the plan.
The plan-features parameters but is only there to activate functions that were not activated in the plan, or not?
If not, what would I had to write because behind plan-features=, if I want to enable MySQL database and SSL-Website?
OK, I have found where the fault lies.
When I enabled SSL-Website in the plan, he breaks off with the message ".. warnings detected : SSL cannot be enabled as there is already an Apache virtual host on IP address $1 and port $2". Therefore, of course, is no database created.
But I want to support a SSL website under one IP using the SNI extension from Apache2 by default.
What can I do?
Fixing this will have to wait until the next Virtualmin release, which will add a skip-warnings parameter to the modify-domain API to ignore this warning.

If you like, I can send you a patch in advance though..

 - Jamie

Good, but better would be a setting in Virtualmin, instead of one in the api commands, because I work with WHMCS.
You can also contact WHMCS together. And WHMCS builds a setting in the Virtualmin module, which controls whether the parameter is sent or not.
I would put the string purely indeed myself, but unfortunately this file is encrypted.