ue_api_webapps

Administrate the xampp und webapps-application

(Only > beas8.8)

 

object=ue_api_webapps=[methode]=[propertie]

 

apacheconfig_read

read the <setup:apache_path>\conf\httpd.conf and extract the setup-Variable serverroot and Listen and save this properties in

apache_serverroot = the root-path

apache_port = listen-port

apache_serverroot = Root Apache-Server

apache_documentroot = http-Document-Root

apache_servername = Servername Apache

apache_listen = Listen IP and Port

 

declare=apache=ue_api_webapps

apache=apacheconfig_read

messagebox=<apache_serverroot> / <apache_port>

 

 

apacheconfig_save

write the properties serverroot and port in

<setup:apache_path>\conf\httpd.conf

 

Example: Set Current Port to 2030

setvar=apache_port=2030

declare=apache=ue_api_webapps

apache=apacheconfig_save

 

readtimezone

read the current php-time zone from

<setup:apache_path>\php\php.ini

and copy this in columns dw_1.item.timezone and timezone2

Example

object=ue_api_webapps=apache=readtimezone

savetimezone

save the timezone from columns dw_1.item.timezone,timezone2 in the php.ini-File

dropdown_timezone

Create timezone-Dropdown-Values for the fields (columns) dw_1.item.timezone and timezone2 . beas. read the values from program\pocket_modul_timezone.txt.

getports=<port>

Check free Ports with netstat and write this port in variable <freeport>

beas scan the Ports

80,8080,20000 to 20010, 20202 and 30303

Please stop Apache and restart Apache after Change the Port

readcharsets

read the list of aviable charsets and set dropdown-Value in column collation

read the Charset from table oitm and set this charset in Variable sqlcharset

webappconfig_read

read the webapps-config-file from path setup:webappsroot.

set columns webapproot, dbhost, dbname, dbuser, dbpass, collation

webappconfig_save

save the columns from webappconfig_save to the webapps-config-file

webappupdate

Update the webapps. Install to the path from column webapproot. Calls function webappconfig_read, webappconfig_save and other.

setdbvalues

set the actual database-information in columns dbhost,dbname,dbuser,dbpass.

Example:

object=ue_api_webapps=setdbvalues

 

webappgetwebversion

Read webapps-Versionsfile from beas-support-Server and write this in columns version, versiondatum,versionfile and beasversion

read_webapps

Read the current webapps-Installation and save the modul-information in the current DataBase

 

Properties Apache

You can read the Properties with <setup:..>

apache_path

Path from xampp. Standard: c:\xampp\

Example: messagebox=<setup:xampp_path>

 

apache_url

get the Standard-URL-Name

apache_port

get the Port-Number