[httpServer]
Defines options for the httpServer running inside a CTRL manager
[httpServer] accessLog
- Type
- bool
- Default
- 0
- Range
- 0|1
[httpServer] allowPanelParam
- Type
- bool
- Default
- 0
- Range
- 0|1
[httpServer] autoEncryption
- Type
- bool
- Default
- 1
- Range
- 0|1
[httpServer] compatIgnoreForwardedFor
- Type
- bool
- Default
- 0
- Range
- 0|1
- 0: the original IP address of the browser in which the ULC UX client is running will be read from the HTTP header X-Forwarded-For and used for myDisplayName() and UI settings.
- 1: the IP address of the reverse proxy is used for myDisplayName() and UI settings (compatible to versions below 3.19 P009).
[httpServer] compressionCacheEnabled
- Type
- bool
- Default
- 1
- Range
- 0|1
[httpServer] externalAuthHeader
- Type
- string
[httpServer] externalAuthParam
- Type
- string
[httpServer] favIcon
- Type
- string
- Default
- /pictures/StandardIcons/Console_20.png
[httpServer] httpHeader
- Type
- string
- Default
- See Description
httpHeader = "X-XSS-Protection: 1; mode=block"
httpHeader = "X-Content-Type-Options: nosniff"
httpHeader = "Cache-Control: private"
httpHeader = "Cache-Control: must-revalidate"
To remove all entrys of the HTTP header (including the default values) following entry can be used:
httpHeader = "-empty list-"
Note: Mandatory header entries will not be removed.
[httpServer] indexPage
- Type
- string
- Default
- /data/index.html
[httpServer] loadBalance
- Type
- string
- Range
- hostname [max=5]
Example: loadBalance = "win10-140 max=10 exts=extern.etm.at:445 ext=extern.etm.at:82" loadBalance = "win10-141 max=10 exts=extern.etm.at:446 ext=extern.etm.at:83"
exts= is used when the connection is encrypted, i.e. when working via https://.
ext= is sent to the client (the ULC JavaScript part) if the connection is not encrypted, i.e. if http:// is used.
Note: In a redundant system, when this config entry is not given, the HTTP server uses both redu-servers as load balancer hosts (when the HTTP server is running on either of the servers). In this case it is required to run the HTTP Server CTRL Manager with -connectToRedundantHosts, otherwise the other host does not know that a CTRL manager is running as the Event manager only writes onto its local connections dp[httpServer] pngCompression
- Type
- int
- Default
- 100
- Range
- 0..100
[httpServer] strictTransportSecurityMaxAge
- Type
- uint
- Default
- 31536000 (= ~1 year)
[httpServer] uiArguments
- Type
- string
- Default
- -p vision/login.pnl -centered -iconBar -menuBar
- -lang XXXX ... active language, uses the preferred language received from the Web-Browser
- -server XXXXX ... When the HTTP server does not run on the same host as the Event Manager, we assume that the UI manager can not read the project files (panels, CTRL-lib, etc.) from the local disc. Therefore with this option the UI will request the files via HTTP requests from the main server. This feature requires a running HTTP server on the machine on which the Event Manager runs (in case of a redundant project, there must be an HTTP server running on each of the redu hosts) You can disable this behavior with the config entry 'uiUsesMainServerAsFileServer = 0'
[httpServer] uiStartPermissionBit
- Type
- int
- Default
- -1
[httpServer] uiUsesMainServerAsFileServer
- Type
- bool
- Default
- 1
- Range
- 0|1
[httpServer] ulcAliveTimeout
- Type
- uint
- Default
- 60
- If 0, no timeout is checked
- If the value is part of the interval [1..10], 10 seconds is used as the timeout value
- The default value if not specified is 60 seconds
[httpServer] ulcUseClientTimeZone
- Type
- bool
- Default
- 0 on Windows, 1 on all other platforms
- Range
- 0|1
- incomplete historical information about time zones
- inaccurate or missing dates for transitions between standard and daylight saving time (DST)
- no DST support for the Southern hemisphere
[httpServer] XFrameOptions
- Type
- string
- Default
- SAMEORIGIN
- Range
- none
A security measurement prevents to load content from a different website. This is called "clickjacking" protection.
To nevertheless load the content of the foreign server inside your own website the HTML Header parameter X-Frame-Options can be used to configure the expected behavior.
This parameter must be set on the remote server and contain the URL of your server to display the foreign content on your server.
There are 4 different options available for the XFrameOptions config entry:
- "none": is used to completely deactivate this option
- "DENY": Foreign content is not loaded.
- "SAMEORIGIN": Only content from your own server is loaded.
- "ALLOW-FROM": Only the content is loaded for which the X-Frame-Options HTML Header parameter is set correctly. Must be configured on the foreign server!
Example:
First server: www.myFirstServer.com
Second server: www.mySecondServer.com
To display the content from the second server within the first server (e.g. using an iframe) the second server must state the parameter "XFrameOptions: ALLOW-FROM http://www.myFirstServer.com" within the HTML header. This can be configured by setting following config entry within the config of the second webserver.
[httpServer]
XFrameOptions = "ALLOW-FROM http://www.myFirstServer.com"
