3.10. Web Server

The Web Server option lets you configure the DataHub program to run as a lightweight http server capable of serving HTML documents, Java applets, and many kinds of binary files. It features password-protected access and server-side scripting, and supports DataHub WebView.

[Note]

For information about using the Web Server, please refer to Chapter 12, Using the Web Server.

Web Server

The web server can be turned on and off while the DataHub instance is running.

Ensure the Act as web server box is checked to enable the web server. Uncheck the box to disable it.

Base Configuration

Port

The number of the port used to make TCP connections to the web server. The DataHub Web Server is preconfigured to run on port number 80, but you might need to change that setting.

[Important]

Windows allows multiple users on a single TCP port, and never refuses a connection. However, this can cause irregular behavior. It is essential that the DataHub Web Server be the exclusive user of a port. Please refer to step 4 in Section 12.2, “Configuring the DataHub Web Server” for more details.

Use secure sockets (SSL)

Checking this box will cause the web server to run in secure mode.

Allow directory listing

Checking this box allows users to browse the directory on your server.

Document root directory

The root directory for your documents. The recycle button resets the entry to the default setting.

Options

Error log file:

The path and name of the file where errors are logged.

Access log file:

The path and name of the file where access attempts, successes, and failures are logged.

SSL certificate file:

The path and name of the certificate file used for secure sockets (SSL). Please see SSL Certificates for more information about SSL certificates in the DataHub program.