$VAR is an associative array that contains the data model. Below is a detailed list explaining available paths and values.
$VAR->
$VAR->domainsIpDefaultBootstrapThe full path to the bootstrap file for a domain set as default on an IP address; string
$VAR->domainsBootstrapThe full path to the bootstrap file for domains; string
$VAR->domainsWebmailHordeBootstrapThe full path to the bootstrap file for Horde; string
$VAR->domainsWebmailAtmailBootstrapThe full path to the bootstrap file for Atmail; string
$VAR->domainsWebmailAtmailcomBootstrapThe full path to the bootstrap file for Atmail Commerce; string
$VAR->server->fullHostNameFull name of the host where the Panel is installed; string
$VAR->server->ipAddress->allList of IP addresses registered with the Panel; array with elements $VAR->ipAddress
$VAR->server->admin->emailE-mail address of the Panel administrator; string
$VAR->server->productRootDirThe full path to the root directory of the Panel installation; string
$VAR->server->productConfigDirThe full path to the directory where the Panel configuration is stored; string
$VAR->server->getSslLibraryPathThe full path to the system SSL library; string
$VAR->server->getCryptoLibraryPathThe full path to the system cryptographic library; string
1.2. $VAR->server->domains->
$VAR->server->domains->allWithHostingList of domains where hosting (both web hosting and forwarding) is set up; array with elements $VAR->domain
$VAR->server->domains->allWithoutHostingList of domain accounts where no hosting is set up (neither web hosting nor forwarding); array with elements $VAR->domain
1.3. $VAR->server->webserver->
$VAR->server->webserver->vhostDirThe full path to the system vhosts/ directory; string
$VAR->server->webserver->httpLogsDirThe full path to the logs/ directory; string
$VAR->server->webserver->httpIncludeDirThe full path to the Apache conf.d directory; string
$VAR->server->webserver->httpDirThe full path to the directory with content of the server default website available via HTTP; string
$VAR->server->webserver->httpsDirThe full path to the directory with content of the server default website available via HTTPS; string
$VAR->server->webserver->httpPortApache HTTP port number; string
$VAR->server->webserver->httpsPortApache HTTPS port number; string
$VAR->server->webserver->cgiBinDirThe full path to the cgi-bin directory of the server default site; string
$VAR->server->webserver->clientGroupSystem group of users using Apache web hosting (a user group in which all FTP users of web hosting are included); string
1.3.1. $VAR->server->webserver->apache->
$VAR->server->webserver->apache->pipelogEnabledDefines if writing Apache logs to a pipe is enabled; boolean
$VAR->server->webserver->apache->traceEnableComplianceDetermines the behaviour on TRACE requests; boolean
$VAR->server->webserver->apache->allowOverrideDefaultDefines the value of the AllowOverride directive in Apache configuration; string
$VAR->server->webserver->apache->php4ModuleName Name of the Apache module used for PHP 4; string
$VAR->server->webserver->apache->phpCgiBinBinary file used to run PHP in CGI mode; string
$VAR->server->webserver->apache->coldfusionModuleNameName of Apache module used for ColdFusion; string
$VAR->server->webserver->apache->vhostIpCapacityMaximum number of IP addresses that can be defined in the <VirtualHost> tag in Apache configuration; integer
1.3.2. $VAR->server->webserver->horde->
$VAR->server->webserver->horde->confDThe full path to the directory with Horde configuration; string
$VAR->server->webserver->horde->logDThe full path to the directory with Horde logs; string
$VAR->server->webserver->horde->docDThe full path to the Horde doc directory; string
$VAR->server->webserver->horde->dataDThe full path to the folder with Horde PEAR data; string
1.4. $VAR->server->tomcat->
$VAR->server->tomcat->workersFileThe full path to the Tomcat workers file; string
$VAR->server->tomcat->workerNameTomcat worker ID; string
$VAR->server->tomcat->warpPortTomcat WARP port; string
1.5. $VAR->server->mailman->
$VAR->server->mailman->rootDirThe full path to the Mailman root directory; string
$VAR->server->mailman->varDirThe full path to the Mailman var directory; string
$VAR->server->mailman->scriptAliasesScriptAliases required for the web panel of the Mailman service to work; array with elements 'url => path'
$VAR->server->mailman->aliasesAliases required for the web panel of the Mailman service to work; array with elements 'url => path'
1.6. $VAR->server->coldfusion->
$VAR->server->coldfusion->portColdFusion port number; string
$VAR->server->coldfusion->serverStorePathThe full path to the file that contains information for the associated JRun server (default file name is jrunserver.store); string
1.7. $VAR->server->miva->
$VAR->server->miva->libDirThe full path to the Miva lib directory; string
$VAR->server->miva->binDirThe full path to the Miva bin directory; string
$VAR->server->miva->shareDirThe full path to the Miva shared directory; string
1.8. $VAR->server->awstats->
$VAR->server->awstats->docsDirThe full path to the AWStats docs directory; string
The content of $VAR->domain is defined by the value of the domainId key in $metainfo.
$VAR->domain->idDomain ID; string
$VAR->domain->wwwDefines if the website is accessible with the www prefix; boolean
$VAR->domain->enabledDefines the website status; boolean
$VAR->domain->idnNameInternational domain name; string
$VAR->domain->asciiNameDomain name in ASCII format; string
$VAR->domain->isIpDefaultDefines if the website is set as default for the IP address; boolean
$VAR->domain->hasPhysicalHostingDefines if the website is set up for web hosting; boolean
$VAR->domain->hasStandardForwardingDefines if the website is set up as standard forwarding; boolean
$VAR->domain->hasFrameForwardingDefines if the website is set up as frame forwarding; boolean
$VAR->domain->webAliasesWeb aliases of the website; array where elements are objects $object->asciiName
$VAR->domain->mailAliasesMail aliases of the website; array where elements are objects $object->asciiName
$VAR->domain->client->emailE-mail address of the website owner; string
$VAR->domain->emailE-mail address of the Domain Administrator of the website; string
2.1. $VAR->domain->physicalHosting->
$VAR->domain->physicalHosting->loginUsername of FTP account used to access the website content; string
$VAR->domain->physicalHosting->ipAddressIP address on which the website is hosted; see $VAR->ipAddress
$VAR->domain->physicalHosting->vhostDirThe absolute path to the website's vhost directory; string
$VAR->domain->physicalHosting->logsDirThe absolute path to the website's logs directory; string
$VAR->domain->physicalHosting->webUsersDirThe absolute path to the website's directory designated for web users' content; string
$VAR->domain->physicalHosting->httpDirThe absolute path to thewebsite's httpdocs directory; string
$VAR->domain->physicalHosting->httpsDirThe absolute path to thewebsite's httpsdocs directory; string
$VAR->domain->physicalHosting->cgiBinDirThe absolute path to thewebsite's cgi-bin directory; string
$VAR->domain->physicalHosting->statisticsDirThe absolute path to the website's statistics directory;string
$VAR->domain->physicalHosting->siteAppsConfigDirThe absolute path to the website's directory where configuration files of the installed non-SSL site applications are stored; string
$VAR->domain->physicalHosting->customConfigFileThe absolute path to the directory <vhostdir>/conf/vhost.conf for a non-SSL website; string
$VAR->domain->physicalHosting->siteAppsSslConfigDirThe absolute path to the website's directory where configuration files of the installed SSL site applications are stored; string
$VAR->domain->physicalHosting->customSslConfigFileThe absolute path to the directory <vhostdir>/conf/vhost.conf for a non-SSL website; string
$VAR->domain->physicalHosting->sslDefines if the SSL support is enabled on the website; boolean
$VAR->domain->physicalHosting->trafficBandwidthDefines a limit imposed on the traffic bandwidth usage by the domain; string
$VAR->domain->physicalHosting->maximumConnectionDefines a limit imposed on the maximum allowed number of connections to the domain; string
$VAR->domain->physicalHosting->phpDefines if the PHP support is enabled on the website; boolean
$VAR->domain->physicalHosting->phpHandlerTypeDefines PHP handler type; string
$VAR->domain->physicalHosting->phpSafeModeDefines if PHP operates in safe mode; boolean
$VAR->domain->physicalHosting->ssiDefines if SSI is supported on the website; boolean
$VAR->domain->physicalHosting->cgiDefines if CGI is supported on the website; boolean
$VAR->domain->physicalHosting->mivaDefines if Miva support is enabled for the website; boolean
$VAR->domain->physicalHosting->mivaDataDirThe full path to the Miva data directory; string
$VAR->domain->physicalHosting->perlDefines if Perl is supported on the website; boolean
$VAR->domain->physicalHosting->aspDefines if ASP is supported on the website; boolean
$VAR->domain->physicalHosting->pythonDefines if python is supported on the website; boolean
$VAR->domain->physicalHosting->fastcgiDefines if FastCGI is supported on the website; boolean
$VAR->domain->physicalHosting->errordocsDefines if custom error pages are supported on the website; boolean
$VAR->domain->physicalHosting->hasWebstatDefines if a web statistics service is supported on the website; boolean
$VAR->domain->physicalHosting->webuserScriptingEnabledDefines if using scripts is allowed to web users on the website; boolean
$VAR->domain->physicalHosting->frontpageDefines if Microsoft FrontPage is supported on the website; boolean
$VAR->domain->physicalHosting->frontpageSslDefines if Microsoft FrontPage over SSL is supported on the website; boolean
$VAR->domain->physicalHosting->coldfusionDefines if ColdFusion is supported on the website; boolean
$VAR->domain->physicalHosting->subdomainsList of the website subdomains; array with elements $VAR->subdomain
$VAR->domain->physicalHosting->webusersAccesses web user specific data; array where elements are objects of type $object-><webuser-parameter> where <webuser-parameter> is one of the following:
dirThe absolute path to the directory with the web user's content; string
ssiDefines if SSI support is enabled for the web user; boolean
cgiDefines if CGI support is enabled for the web user; boolean
perlDefines if perl support is enabled for the web user; boolean
aspDefines if ASP support is enabled for the web user; boolean
phpDefines if PHP support is enabled for the web user; boolean
pythonDefines if python support is enabled for the web user; boolean
fastcgiDefines if fastCGI support is enabled for the web user; boolean
2.2. $VAR->domain->forwarding->
$VAR->domain->forwarding->ipAddressIP address on which the website forwarding is set up; $VAR->ipAddress
$VAR->domain->forwarding->redirectUrlURL to which requests for the website are redirected; string
2.3. $VAR->domain->tomcat->
$VAR->domain->tomcat->enabledDefines if Tomcat is enabled on the website; boolean
$VAR->domain->tomcat->allGets data on all Tomcat applications running on the domain; array where elements are objects $object->name where 'name' is an application name
2.4. $VAR->domain->protectedDirectories->
$VAR->domain->protectedDirectories->sslDirectoriesPassword-protected directories of the website available via SSL; array with elements array('directory' => '', 'realm' => '', 'authFile' => '',) where
directory is a path (relative to the virtual host root) to a directory being protectedrealm is a text displayed when requesting password from a userauthFile is the absolute path to a file listing users who are authorized to access the directory$VAR->domain->protectedDirectories->nonSslDirectoriesPassword-protected non-SSL directories of the website; array with elements array('directory' => '', 'realm' => '', 'authFile' => '',) where
directory is a path (relative to the virtual host root) to a directory being protectedrealm is a text displayed when requesting password from a userauthFile is the absolute path to a file listing users who are authorized to access the directoryThe content of $VAR->subDomain is defined by the value of the domainId and subDomainId keys in $metainfo.
$VAR->subDomain->idSubdomain ID; string
$VAR->subDomain->asciiNameSubdomain name in ASCII format (without the domain name part, i.e. "forum" if the full domain name is "forum.example.com"); string
$VAR-subDomain->asciiFullNameFull subdomain name (including the domain name part) in ASCII format; string
$VAR->subDomain->httpDirThe absolute path to the website's httpdocs directory; string
$VAR->subDomain->httpsDirThe absolute path to the website's httpsdocs directory; string
$VAR->subDomain->siteAppsConfigDirThe absolute path to the website's directory where configuration files of the installed non-SSL site applications are stored; string
$VAR->subDomain->siteAppsSslConfigDirThe absolute path to the website's directory where configuration files of the installed SSL site applications are stored; string
$VAR->subDomain->customConfigFileThe absolute path to the directory conf/vhost.conf for a non-SSL website; string
$VAR->subDomain->customSslConfigFileThe absolute path to the directory conf/vhost.conf for an SSL website; string
$VAR->subDomain->loginUsername of FTP account used to access the website content; string
$VAR->subDomain->cgiDefines if the CGI support is enabled on the website; boolean
$VAR->subDomain->cgiBinDirThe full path to the cgi-bin directory of the website; string
$VAR->subDomain->mivaDefines if the Miva support is enabled on the website; boolean
$VAR->subDomain->mivaDataDirThe full path to the Miva data directory; string
$VAR->subDomain->perlDefines if the perl support is enabled on the website; boolean
$VAR->subDomain->aspDefines if the ASP support is enabled on the website; boolean
$VAR->subDomain->coldfusionDefines if the ColdFusion support is enabled on the website; boolean
$VAR->subDomain->phpDefines if the PHP support is enabled on the website; boolean
$VAR->subDomain->phpHandlerTypeDefines PHP handler type; string
$VAR->subDomain->pythonDefines if the python support is enabled on the website; boolean
$VAR->subDomain->fastcgiDefines if the FastCGI support is enabled on the website; boolean
$VAR->subDomain->ssiDefines if the SSI support is enabled on the website; boolean
$VAR->subDomain->sslDefines if the SSL support is enabled on the website; boolean
The content of $VAR->ipAddress is defined by the value of the ipAddressId key in $metainfo.
$VAR->ipAddress->idID of the IP address; string
$VAR->ipAddress->addressIP address; string
$VAR->ipAddress->sslCertificate->ceSSL certificate file content; string
$VAR->ipAddress->sslCertificate->caCA certificate file content; string
$VAR->ipAddress->sslCertificate->ceFilePathThe full path to the certificate file; string
$VAR->ipAddress->sslCertificate->caFilePathThe full path to the CA certificate file; string
$VAR->ipAddress->defaultDomainIdID of the domain set as default for the IP address; string
$VAR->ipAddress->hostedDomainsList of domains hosted on the IP address; array with elements $VAR->domain