Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - isaack

Pages: [1]
CentOS-WebPanel Bugs / API Domain
« on: September 10, 2018, 07:20:45 PM »
ich bin leider jetzt erst dazu gekommen die Domain Funktion bei der Api zu testen.
leider muss ich feststellen, das der Server keine Antwort auf die Anfrage per Curl gibt.
Liegt das an meinem Code oder ist hier eventuell noch ein kleiner fehler im Script?

this is my code:

Code: [Select]
$data = array(
"key" => $key,
"action" => 'list',
"user" => 'isaack',
"type" => 'subdomain',
"name" => $domain,
"path" => 'public_html/vms-suee/'

$url = "";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt ($ch, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt ($ch, CURLOPT_POST, 1);
$response = curl_exec($ch);
$response = json_decode($response);
return $response;

Other / Add domain with API
« on: August 02, 2018, 12:54:21 PM »
Hello, I do not really know if I'm right here. At least I did not find anything else where you can write API questions purely.
Is it possible to add a domain with target directory via API for an existing user, if so which function should I use?

Thanks for the answers.

SSL / Automatically on https
« on: May 20, 2018, 07:11:03 AM »
how can i set it to be taken automatically https instead of http?
Currently I always have to write https with in the URL.
An SSL certificate has already been created for each domain.

thanks for the answers.

Pages: [1]