7.14. Web Server Configuration

Web server configuration allows user to fine tune several aspects of the server.

File type

Web server will compress file types specified in this setting. Enter file extensions separated by comma (,) to indicate which type of file should be compress. By default, several most commonly used text files are compressed. User can modify the list by adding or removing file extensions. Compression helps speed up web server response.

[Note] Note

Usually only text based files have high compression ratio, and worth adding to the list.

Other already compressed file format, like zip, rar, 7z, png, jpg usually will not have much different after compression. For these types of file, adding them to compression setting usually slow down web server instead.


Trigger

Set the minimum file size in bytes that will trigger the file to be compressed.

Method

Set the compression method to used. Most browsers support deflate.

Auto Refresh

Auto refresh web server periodically.

Hide Project ID in URL

By default, project URL is http://hostname_or_ipaddress:port_number/project_id/. Hiding project ID will produce http://hostname_or_ipaddress:port_number/.

Port

By default, web server port nunmber is 7131. You can change the port number to something else.

[Note] Note

By changing port number to 80, you can access the project by ignoring port number in project URL, as follow: http://hostname_or_ipaddress/project_id.

By hiding project ID and setting port number to 80, you can further simplify project URL to: http://hostname_or_ipaddress/


Cross Origin Request Allowed

Set the allowed origin for cross origin request. Refers http://www.w3.org/TR/cors/ for details of specification.

Leave this field blank to disable cross origin request.

Put * to allow all cross origin request.

You can further refine the setting by supplying a comma separated list of filter in this format: [scheme]://[source]:[port].

 

Example 7.1. Cross Origin Request filter

Put in *://www.abc.com:7131 to allow request from http://www.abc.com:7131 and https://www.abc.com:7131.

Put in http://*:8080 to allow request from any source running at port 8080.

Put in 192.168.1.30-35 to allow request from http or https with host address between 192.168.1.30 to 192.168.1.35.

Put in https://www.abc.com to allow request from https://www.abc.com running at any port.

Put in *://www.abc.com:7131, *://192.168.1.20:7131, *://10.1.1.* to allow request from any origin that satisfy this filter.

Inactivity timeout

Set the timeout after user inactivity in seconds. Put 0 to disable timeout.

HTTPS

Enable or disable HTTPS. Connection between the web server and client will be encrypted.

Please refer HTTPS section for more details.

HTTPS Port

Port to be used by HTTPS. Default is 443.

SSL certificate hash

The thumbprint hash for the SSL certificate to be used. Be sure to install the certificate first and retrieve this hash from the system certificate manager.

Log user activity

Set whether to log user activities.

Log user activity to

Set the database where user activity should be logged.

Use non-responsive interface

Use legacy interface before version 5.0.