commit | author | age
|
413d3b
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
T |
2 |
<html><head><title>ISCPConfig 3 API Functions</title> |
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
|
9 |
<link rel="stylesheet" type="text/css" href="definitionen.css"> |
|
10 |
<style type="text/css"> |
|
11 |
</style></head> |
|
12 |
|
|
13 |
<body> |
|
14 |
<div style="padding:40px"> |
|
15 |
<h1>sites_web_subdomain_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> |
|
16 |
<br> |
|
17 |
<p class="headgrp">Description: </p> |
|
18 |
<p class="margin"> Adds a new web subdomain if <em>type</em> is <em>subdomain</em>.</p><br> |
|
19 |
<p class="headgrp">Input Variables: </p> |
|
20 |
<p class="margin"> <span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$params</span></p> |
|
21 |
<p class="headgrp">Parameters (in <span class="var">$params</span>): </p> |
|
22 |
<p class="margin"> server_id (<span class="paratype">int(11)</span>)</p> |
|
23 |
<p class="margin"> ip_address (<span class="paratype">varchar(39)</span>)</p> |
|
24 |
<p class="margin"> domain (<span class="paratype">varchar(255)</span>)</p> |
|
25 |
<p class="margin"> type (<span class="paratype">varchar(32)</span>)</p> |
|
26 |
<p class="margin"> parent_domain_id (<span class="paratype">int(11)</span>)</p> |
|
27 |
<p class="margin"> vhost_type (<span class="paratype">varchar(32)</span>)</p> |
|
28 |
<p class="margin"> document_root (<span class="paratype">varchar(255)</span>)</p> |
|
29 |
<p class="margin"> system_user (<span class="paratype">varchar(255)</span>)</p> |
|
30 |
<p class="margin"> system_group (<span class="paratype">varchar(255)</span>)</p> |
|
31 |
<p class="margin"> hd_quota (<span class="paratype">bigint(20)</span>)</p> |
|
32 |
<p class="margin"> traffic_quota (<span class="paratype">bigint(20)</span>)</p> |
|
33 |
<p class="margin"> cgi (<span class="paratype">enum('n','y')</span>)</p> |
|
34 |
<p class="margin"> ssi (<span class="paratype">enum('n','y')</span>)</p> |
|
35 |
<p class="margin"> suexec (<span class="paratype">enum('n','y')</span>)</p> |
|
36 |
<p class="margin"> errordocs (<span class="paratype">tinyint(1)</span>)</p> |
|
37 |
<p class="margin"> is_subdomainwww (<span class="paratype">tinyint(1)</span>)</p> |
|
38 |
<p class="margin"> subdomain (<span class="paratype">enum('none','www','*')</span>)</p> |
|
39 |
<p class="margin"> php (<span class="paratype">enum('n','y')</span>)</p> |
|
40 |
<p class="margin"> ruby (<span class="paratype">enum('n','y')</span>)</p> |
|
41 |
<p class="margin"> redirect_type (<span class="paratype">varchar(255)</span>)</p> |
|
42 |
<p class="margin"> redirect_path (<span class="paratype">varchar(255)</span>)</p> |
|
43 |
<p class="margin"> ssl (<span class="paratype">enum('n','y')</span>)</p> |
|
44 |
<p class="margin"> ssl_state (<span class="paratype">varchar(255)</span>)</p> |
|
45 |
<p class="margin"> ssl_locality (<span class="paratype">varchar(255)</span>)</p> |
|
46 |
<p class="margin"> ssl_organisation (<span class="paratype">varchar(255)</span>)</p> |
|
47 |
<p class="margin"> ssl_organisation_unit (<span class="paratype">varchar(255)</span>)</p> |
|
48 |
<p class="margin"> ssl_country (<span class="paratype">varchar(255)</span>)</p> |
|
49 |
<p class="margin"> ssl_domain (<span class="paratype">varchar(255)</span>)</p> |
|
50 |
<p class="margin"> ssl_request (<span class="paratype">mediumtext</span>)</p> |
|
51 |
<p class="margin"> ssl_cert (<span class="paratype">mediumtext</span>)</p> |
|
52 |
<p class="margin"> ssl_bundle (<span class="paratype">mediumtext</span>)</p> |
|
53 |
<p class="margin"> ssl_action (<span class="paratype">varchar(16)</span>)</p> |
|
54 |
<p class="margin"> stats_password (<span class="paratype">varchar(255)</span>)</p> |
|
55 |
<p class="margin"> stats_type (<span class="paratype">varchar(255)</span>)</p> |
|
56 |
<p class="margin"> allow_override (<span class="paratype">varchar(255)</span>)</p> |
|
57 |
<p class="margin"> apache_directives (<span class="paratype">mediumtext</span>)</p> |
|
58 |
<p class="margin"> php_open_basedir (<span class="paratype">mediumtext</span>)</p> |
|
59 |
<p class="margin"> custom_php_ini (<span class="paratype">mediumtext</span>)</p> |
|
60 |
<p class="margin"> backup_interval (<span class="paratype">varchar(255)</span>)</p> |
|
61 |
<p class="margin"> backup_copies (<span class="paratype">int(11)</span>)</p> |
|
62 |
<p class="margin"> active (<span class="paratype">enum('n','y')</span>)</p> |
|
63 |
<p class="margin"> traffic_quota_lock (<span class="paratype">enum('n','y')</span>)</p> |
|
64 |
<p class="headgrp">Output: </p> |
|
65 |
<p class="margin"> Returns the ID of the newly added web subdomain.</p> |
|
66 |
<!--<b>Output:</b> |
|
67 |
<p style="margin-left:100px">Gives a record of </p> --> |
|
68 |
</div> |
|
69 |
|
|
70 |
</body></html> |