Skip to main content

Configuring the Bp Event web server

A 4D web server is automatically included in a Bp Event Server-Client installation. It is executed on the Service Client, which is also responsible for job processing.

Note: The user interface that is displayed when the Bp Event Server is running does not support any individual settings.

  • Configure the Bp Event web server

    Users with administrative authorisations can determine web server settings.

    1. Go to the Administration Administration tab in the function bar and select Administration Settings > Monitor  Service Clients.
    2. Enter the HTTP and HTTPs ports for the web server.
    3. Enter a simple URL in the Web server domain name field. This URL needs to be redirected to the web server.
    4. Enter a duration (hh:mm) in the Web session timeout field. This is the maximum idle time before automatic logout of inactive users.
    5. Tick Allow secure connections only to block HTTP connections to the web server.
    6. Click on Generate SSL certificate request to generate a text file with a certificate request for the certification authority and a private key.
      Note: In order to access the web server via HTTPS, the connection is encrypted using an SSL certificate. An SSL certificate and the corresponding "private key" are required for this. These must be available in PEM format or converted to PEM format. Both files are stored in a folder under %Installation Folder%\Data\Web Folder SSL.
      The key length supports a maximum of 2048 bits. If you require a longer key length, please create the Certificate Signing Request (CSR) with an external tool (e.g. OpenSSL).
    7. Tick Don't start web server to turn off the auto-start option of the web server along with the application.
    8. Set a Logon time limit in days to define the validity of a logon ticket. Enter "0" to disallow the "Stay logged in" option.
    9. Allow editing emails (for online booking requests etc) by entering an E-Mail HTML-Preview CSS.
    10. Enter users who are disbarred from using Bp Event Mobile in the Block user names directly field. This aims to restrict the number of users authorised for web access to the database.
      Example: Administrator
    11. Define target pages for web redirects in the Web Redirect Whitelist field.
  • Set up multiple service clients for different jobs

    Set up several service clients for job processing with load balancing. If jobs are not explicitly assigned to a specific service client, the job is passed to the service client that is processing the fewest jobs at that moment.

    1. Go to the Administration Administration tab in the function bar and select Administration General settings > Administration Technical settings > Monitor Service Clients (formerly "Web Server") to define multiple service clients for job processing.
    2. Tick the "Assigned only" field for explicitly assigned jobs. The assignment itself is made in the jobs.
      Example: A dedicated service client is used for email retrieval so as not to interfere with other jobs and web users.
    3. Assign individual service client to WebApps such as the ProductionApp or Bp Event Mobile to enhance response times by load balancing.
      Note: Be sure to use different ports if you select multiple web servers.
    4. Do not create more than 2 service clients for small servers with e.g. 8GB memory and 3 cores, but separate e.g. web server, jobs and emails if you have 32GB memory and 8 cores available.
  • Activate the debug or request log for each service client

    Activate the debug or request log individually for each service client.

    1. Go to the Administration Administration tab and select Administration Settings > Monitor Service Clients to activate the request and debug logs for each service client individually.
    2. To switch the log on or off spontaneously while the service client is running, go to the hilfe Help tab and select Wartung  Maintenance.
  • Restart the web server

    If changes have been made to a WebApp or Bp Event Mobile or if they cannot be called up, the web server needs to be be restarted.

    1. Go to the hilfe Help tab in the function bar and select Wartung Maintenance > Monitor Service Client.
    2. Click on Ausfuehren  Restart Web Server. The info lines (Started, Prot, Directory) are cleared on restart. The web server starts with the updated information.