Our program has a built-in HTTP (web) server. The HTTP server allows you to view reports remotely using a regular browser. The program allows you to provide employees with access to personal reports.
To activate and configure this feature, select "Edit - Preferences..." and switch to the "Web server" page (fig. 16).
Fig.18 HTTP server settings
Listen port – the HTTP server will use this port to send data to the clients. The default value of this parameter is 80. If another server already uses this port, you can specify any suitable value.
To access the server from the same computer where the program is running, you should type the following in the browser address line: http:\\127.0.0.1. If you specify a nonstandard port, specify it after a colon. For example, in case of the above image:
To access the web server:
Default page – this page will be opened by default when you access the address http:\\127.0.0.1:8081.
Web root – this folder will contain pages with reports the remote user will view. It must be possible to write to this folder.
You can use this folder to store your page that the web server can send to the remote client.
Templates – this folder contains page templates that the program will use to display pages in the browser. For an additional fee, the AGG Software company can develop a template in your corporate style or you can do it yourself using existing templates. You should keep the file names of templates completely changing their contents.
Authentication – enable/disable password-protected access. If this option is disabled, everyone can get access. Otherwise access parameters are specified in the table below.
You can specify several users with different rights in this table (fig.18).
There are two users shown in fig.18.
If you are going to provide access to the web server via the Internet, it is recommended to specify the list of addresses access to the web server is permitted from in the "Allowed IP addresses" field. If this field is empty, access from any remote computer will be allowed.