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.
- Go to the
Administration tab in the function bar and select
Settings >
Service Clients.
- Enter the HTTP and HTTPs ports for the web server.
- Enter a simple URL in the Web server domain name field. This URL needs to be redirected to the web server.
- Enter a duration (hh:mm) in the Web session timeout field. This is the maximum idle time before automatic logout of inactive users.
- Tick Allow secure connections only to block HTTP connections to the web server.
- 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). - Tick Don't start web server to turn off the auto-start option of the web server along with the application.
- Set a Logon time limit in days to define the validity of a logon ticket. Enter "0" to disallow the "Stay logged in" option.
- Allow editing emails (for online booking requests etc) by entering an E-Mail HTML-Preview CSS.
- 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 - Define target pages for web redirects in the Web Redirect Whitelist field.
- Go to the
- 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.
- Go to the
Administration tab in the function bar and select
General settings >
Technical settings >
Service Clients (formerly "Web Server") to define multiple service clients for job processing.
- 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. - 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. - 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.
- Go to the
- Activate the debug or request log for each service client
Activate the debug or request log individually for each service client.
- Go to the
Administration tab and select
Settings >
Service Clients to activate the request and debug logs for each service client individually.
- To switch the log on or off spontaneously while the service client is running, go to the
Help tab and select
Maintenance.
- Go to the
- 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.
- Go to the
Help tab in the function bar and select
Maintenance >
Service Client.
- Click on
Restart Web Server. The info lines (Started, Prot, Directory) are cleared on restart. The web server starts with the updated information.
- Go to the
Administrator Manual
- Creating item groups
- Creating an item group package
- Setting up ESC events
- Setting tax rates
- Setting up image optimisation
- Configuring the Bp Event web server
- Creating public holidays in the Holidays/Special events calendar (Versions prior to 12.1R12)
- Setting up change notifications
- Setting up e-invoicing
- Importing public holidays/special events