2.2 Description of Configuration Options

A configuration of RexCore is done by modifying configuration options in the rexcore.cfg file. Each configuration option should be on a single separate line and should have a format option=value with no additional spaces or tabs. A following table contains descriptions of all configuration options.

Option

Default value

Description




server.tcp

:43981

Address and port on which a diagnostic subsystem of RexCore should listen for incoming TCP connections. Set to "disabled" to disable the service. A wildcard address is used when none is specified which means that listening is performed on all network interfaces.




server.ssl

:43997

Address and port on which a diagnostic subsystem of RexCore should listen for incoming SSL connections. Set to "disabled" to disable the service. A wildcard address is used when none is specified which means that listening is performed on all network interfaces.




server.http

:8008

Address and port on which an integrated web server should listen for incoming HTTP connections. Set to "disabled" to disable the service. A wildcard address is used when none is specified which means that listening is performed on all network interfaces.




server.https

:8009

Address and port on which an integrated web server should listen for incoming HTTPS connections. Set to "disabled" to disable the service. A wildcard address is used when none is specified which means that listening is performed on all network interfaces.




auth.enabled

1

Enable/disable authentication subsystem. User has to be authenticated by a user name and password if the authentication subsystem is enabled. No authentication is required if disabled.




auth.allowsystem

1

Enables or disables the possibility of logging into the REX control system using unix accounts. This option is available on GNU/Linux systems only. See section ?? for more information.




auth.allowroot

1

Enables or disables of logging into the REX control system as an admin using the unix root account. This option is available on GNU/Linux systems only.




auth.super.enabled

0

Enables or disables super accounts. See section ?? for more information.




auth.operator.enabled

0

Enables or disables operator accounts. See section ?? for more information.




auth.guest.enabled

0

Enables or disables guest accounts. See section ?? for more information.




log.file.enabled

0

Enables or disables logging into file defined by the option log.file.




log.file

rexcore.log

RexCore log file where all diagnostic messages from the system log are stored if the option log.file.enabled is set




hmi.file

hmi.rex

HMI file




auth.file

auth.rex

Athentication database file




exec.file

exec.rex

Algorithm configuration file




hmi.path

../www/hmi

A path for additional/static HMI files. The path is absolute or relative to RexCore configuration directory.




archive.path

../arc

A path for binary files with archive data. The path is absolute or relative to RexCore configuration directory.




data.path

../data

A path for blocks and drivers data files. The path is absolute or relative to RexCore configuration directory.




web.webroot

../www

A path for document root of static web files that are persistent on target. The path is absolute or relative to RexCore configuration directory.




rexcore.cert

rexcore.cer

RexCore certificate file used for HTTP or diagnostic connections over SSL. The file should be in PEM format.




rexcore.privkey

rexcore.key

RexCore private key file used for HTTP or diagnostic connections over SSL. The file should be in PEM format.




dgn.messages

0xc333370

Diagnostic messages that are shown in system log. User should not set the option directly but rather use RexDraw or RexView to configure the system log. See chapter 3 for more information.