<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<html><head><title>ISCPConfig 3 API Functions</title>
|
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<link rel="stylesheet" type="text/css" href="definitionen.css">
|
<style type="text/css">
|
</style></head>
|
|
<body>
|
<div style="padding:40px">
|
<h1>sites_web_domain_add(<span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$params</span>, <span class="var">$readonly</span> = false);</h1>
|
<br>
|
<p class="headgrp">Description: </p>
|
<p class="margin"> Adds a new web domain.</p><br>
|
<p class="headgrp">Input Variables: </p>
|
<p class="margin"> <span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$params</span></p>
|
<p class="headgrp">Parameters (in <span class="var">$params</span>): </p>
|
<p class="margin"> server_id (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> ip_address (<span class="paratype">varchar(39)</span>)</p>
|
<p class="margin"> domain (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> type (<span class="paratype">varchar(32)</span>)</p>
|
<p class="margin"> parent_domain_id (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> vhost_type (<span class="paratype">varchar(32)</span>)</p>
|
<p class="margin"> document_root (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> system_user (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> system_group (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> hd_quota (<span class="paratype">bigint(20)</span>)</p>
|
<p class="margin"> traffic_quota (<span class="paratype">bigint(20)</span>)</p>
|
<p class="margin"> cgi (<span class="paratype">enum('n','y')</span>)</p>
|
<p class="margin"> ssi (<span class="paratype">enum('n','y')</span>)</p>
|
<p class="margin"> suexec (<span class="paratype">enum('n','y')</span>)</p>
|
<p class="margin"> errordocs (<span class="paratype">tinyint(1)</span>)</p>
|
<p class="margin"> is_subdomainwww (<span class="paratype">tinyint(1)</span>)</p>
|
<p class="margin"> subdomain (<span class="paratype">enum('none','www','*')</span>)</p>
|
<p class="margin"> php (<span class="paratype">enum('n','y')</span>)</p>
|
<p class="margin"> ruby (<span class="paratype">enum('n','y')</span>)</p>
|
<p class="margin"> redirect_type (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> redirect_path (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> ssl (<span class="paratype">enum('n','y')</span>)</p>
|
<p class="margin"> ssl_state (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> ssl_locality (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> ssl_organisation (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> ssl_organisation_unit (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> ssl_country (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> ssl_domain (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> ssl_key (<span class="paratype">mediumtext</span>)</p>
|
<p class="margin"> ssl_request (<span class="paratype">mediumtext</span>)</p>
|
<p class="margin"> ssl_cert (<span class="paratype">mediumtext</span>)</p>
|
<p class="margin"> ssl_bundle (<span class="paratype">mediumtext</span>)</p>
|
<p class="margin"> ssl_action (<span class="paratype">varchar(16)</span>)</p>
|
<p class="margin"> stats_password (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> stats_type (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> allow_override (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> apache_directives (<span class="paratype">mediumtext</span>)</p>
|
<p class="margin"> php_open_basedir (<span class="paratype">mediumtext</span>)</p>
|
<p class="margin"> custom_php_ini (<span class="paratype">mediumtext</span>)</p>
|
<p class="margin"> backup_interval (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> backup_copies (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> active (<span class="paratype">enum('n','y')</span>)</p>
|
<p class="margin"> traffic_quota_lock (<span class="paratype">enum('n','y')</span>)</p>
|
<p class="headgrp">Output: </p>
|
<p class="margin"> Returns the ID of the newly added web domain.</p>
|
<!--<b>Output:</b>
|
<p style="margin-left:100px">Gives a record of </p> -->
|
</div>
|
|
</body></html>
|