Table of Contents

WebConfig

Introduction

The WebConfig application allows you to configure options of the web interface. It is possible to change the connection parameters to the PostgreSQL database, to the web server as well as to modify the trace options.

For the modifications to be taken into account by the server, the “Vigilens web server” service must be restarted.

Connection

WebConfig can be launched

The connection is made with a user name defined by the AdminTool management menu, and this user and his group must have appropriate rights (see Access to applications).

This application is made of two tabs:

Server Tab

Database for web application

It is possible to redefine the connection properties to the Vigilens database.

Web Server

The server can listen on another port than the default one and also ignore requests from other IP addresses than the specified one.
This second option can be useful if another server (apache, IIS, nginx, …) is used as a reverse proxy and you don't want to make the web server directly visible without using this reverse proxy.

The inactivity of a user is determined by the server, so the delay is calculated in relation to the last action requiring a request to the server.

Activation of the secured HTTPS protocol

The server can be used with the HTTPS protocol, to do this just check the “Enable HTTPS protocol” box. Then you have to specify the location of the files linked to the certificate to set up a secure connection.

Once these changes have been saved, restart the “Vigilens web server” service, you will now have to reach the site by typing “https:” in the browser.

Advance setup for log file tab

This tab allows you to configure certain aspects of the Vigilens WEB logging system.

  • Tracing files are only 30MB maximum, after which a new file is created.
  • The old tracing files are not automatically deleted, so please remember to clean them up regularly.
  • Tracing files are named: vigiweb-default_server–{DATECREATION}.log where the creation date is in the format “year-month-day-hour-minutes-seconds” (without dashes).

Path for log files

It is possible to choose a folder in which the logging files will be saved. When the area is empty the default directory is the application directory.

Choice of the elements to be logged

In order to limit the speed at which the trace files fill up it is possible to choose certain categories that will be logged with a certain level of criticality.

With the exception of the level “None”, the value selected corresponds to the minimum level recorded in the trace. So if you choose the value “Warning” then all the messages of the category will be written in the trace in the levels “Warning”, “Error”, “Fatal error”.

Unless you are trying to debug a particular problem, we recommend that you set the traces to “Error” or “Warning” level.
If you do not want to generate a log file, you should set all categories to “None”.