Documentation

add_subdomain.inc.php

Page-level DocBlock

Table of Contents

Functions

add_subdomain()  : mixed
Anlegen 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


        
On this page

Search results