Example Gateway Configuration File

By default, the gateway configuration file is named gateway.conf and is located in C:\Program Files (x86)\Micro Focus\extend x.x.x\AcuToWeb\conf (Windows) or /etc (UNIX).

As the example configuration file below shows, it is in plain text format, and consists of one configuration option and value per line. Lines prefixed # are comment lines and the options are case-insensitive. Refer to Gateway Configuration Options for a description of each option and their permissible values.

The options that populate the configuration file can also be configured from the Gateway Service Properties dialog box (Windows platforms only).
Note: Websocket compression is not supported when you use IIS with AcuToWeb; in those cases, set WS_COMPRESSION 0 in your configuration file, or clear the Use WebSock compression option on the Gateway Service Properties dialog box.
LOGFILE             C:\Users\Public\Documents\Micro Focus\extend 10.2.0\gateway.log
USE_SSL             1
SSL_KEY_FILE        C:\gateway\my-key-file.key
SSL_CRT_FILE        C:\gateway\my-certificate-file.crt
ACURCL              127.0.0.1
ACURCL_PORT         5632
WEBSERVER_PORT      3000
TCP_PORT            8009
PUBLIC_ROOT_DIR     ./Web
FILE_CACHE          ./Web/cache
PATH_FILL_COMBO     C:\my-acutoweb\fillcombo.js
# CUSTOM CSS 
CUSTOMIZE_CSS       Example1=../Web/_CSS/examples/defaultCustomCSS.css
CUSTOMIZE_CSS       FX=../Web/_CSS/examples/ThemeFX.css
# PROTOCOL
AUTHORIZED_ACCESS   0
HANDSHAKE_TIMEOUT   3
WS_COMPRESSION      1
MAX_PKG_SIZE        64000
LOG_LEVEL           1

If you edit any of the values in the configuration file, you must restart the AcuToWeb Gateway.

Previous versions of AcuToWeb used a configuration file in JavaScript format. These files continue to be compatible with AcuToWeb but are converted to plain text format when specified from the AcuToWeb Control Panel.