Documentation

subdomain

Table of Contents

Functions

add_subdomain()  : mixed
Anlegen einer Subdomain
move_subdomain()  : mixed
Verschieben einer Subdomain
update_subdomain()  : mixed
Bearbeiten einer Subdomain

Functions

add_subdomain()

Anlegen einer Subdomain

add_subdomain(array<string|int, mixed> $parameter) : mixed
Parameters
$parameter : array<string|int, mixed>

folgende Parameter sind möglich:

  • kas_login: das betreffende KAS Login
  • kas_auth_data: die Authentifizierungsdaten
  • kas_auth_type: der Authentifizierungstyp
  • subdomain_name: Label der Subdomain
  • domain_name: die Domain zu der das Subdomainlabel hinzu gefügt werden soll
  • subdomain_path: der Hostpfad im Account oder bei Redirect ein FQDN oder ein WBK (optional, Beispiele: /pfad/ oder http://domain.tld (redirect_status required) oder wbk:wbk000001
  • redirect_status: Redirectstatus: 0|301|302|307, 0 = kein Redirect (optional, default 0)
  • statistic_version: die Webalizerversion: 0|4|5|7 (optional, default 5)
  • statistic_language: die Webalizersprache: de|en (optional, default de)
  • php_version: die gewünschte PHP Version: 5.X|7.X (optional, default 7.1)
Tags
link

Beispiel

throwss

TRUE die Aktion wurde durchgeführt

throwss

missing_parameter ein Pflichtparameter fehlt

throwss

account_is_dummyaccount

throwss

domain_for_this_subdomain_doesnt_exist

throwss

domain_syntax_incorrect

throwss

max_subdomain_reached

throwss

couldnt_get_kas_ressources

throwss

redirect_status_syntax_incorrect

throwss

statistic_syntax_incorrect

throwss

subdomain_exist_as_subdomain

throwss

subdomain_path_syntax_incorrect

throwss

subdomain_syntax_incorrect

throwss

wildcardsubdomain_not_in_contract

throwss

php_version_syntax_incorrect

throwss

php_version_not_available_on_server

move_subdomain()

Verschieben einer Subdomain

move_subdomain(array<string|int, mixed> $parameter) : mixed
Parameters
$parameter : array<string|int, mixed>

folgende Parameter sind möglich:

  • kas_login: das betreffende KAS Login
  • kas_auth_data: die Authentifizierungsdaten
  • kas_auth_type: der Authentifizierungstyp
  • subdomain_name: der zu bearbeitende Hostname
  • source_account: der Quellaccount
  • target_account: der Zielaccount
Tags
link

Beispiel

throws
true

die Aktion wurde durchgeführt

throws
missing_parameter

ein Pflichtparameter fehlt

throws
in_progress

das KAS Objekt ist zZt noch in Bearbeitung

throws
nothing_to_do

es wurde nichts geändert

throws
kas_login_syntax_incorrect
throws
target_is_equal_to_source
throws
host_is_dummyhost
throws
account_doesnt_belong_to_you
throws
subdomain_not_found_in_kas
throws
no_valid_parent_domain_there
throws
target_is_dummyaccount
throws
subdomain_has_active_fpse
throws
max_subdomain_for_subaccount_gt_change_value
throws
max_mail_account_for_subaccount_gt_change_value
throws
max_mail_forward_for_subaccount_gt_change_value
throws
max_mailinglist_for_subaccount_gt_change_value

update_subdomain()

Bearbeiten einer Subdomain

update_subdomain(array<string|int, mixed> $parameter) : mixed
Parameters
$parameter : array<string|int, mixed>

folgende Parameter sind möglich:

  • kas_login: das betreffende KAS Login
  • kas_auth_data: die Authentifizierungsdaten
  • kas_auth_type: der Authentifizierungstyp
  • subdomain_name: der zu bearbeitende Hostname
  • subdomain_path: der Hostpfad im Account oder bei Redirect ein FQDN oder ein WBK (optional, Beispiele: /pfad/ oder http://domain.tld (redirect_status required) oder wbk:wbk000001
  • redirect_status: Redirectstatus: 0|301|302|307, 0 = kein Redirect (optional)
  • php_version: die gewünschte PHP Version: modul|5.X (optional)
  • is_active: Domain ist aktiv: Y|N (optional)
Tags
link

Beispiel

throws
true

die Aktion wurde durchgeführt

throws
missing_parameter

ein Pflichtparameter fehlt

throws
in_progress

das KAS Objekt ist zZt noch in Bearbeitung

throws
nothing_to_do

es wurde nichts geändert

throws
redirect_status_syntax_incorrect
throws
statistic_syntax_incorrect
throws
subdomain_doenst_exist
throws
subdomain_has_active_fpse
throws
subdomain_path_syntax_incorrect
throws
php_version_syntax_incorrect
throws
php_version_not_available_on_server
throws
is_active_syntax_incorrect

        
On this page

Search results