Creating WebBroker Apache modules for Linux
In this recipe, we'll create a 64-bit WebBroker Apache module for Linux, install it in Apache 2, and secure the server by configuring HTTPS access. Internally, our application uses DelphiMVCFramework, but all the steps are still valid for other frameworks or no frameworks at all (apart from WebBroker).
Note
The application logic of this recipe is exactly the same as the WebBroker Apache module for Windows, so you can skip the application logic points and dwell only on the parts related to the Apache configuration on the Linux system. This is so that you can be more focused on the part related to deploy on Linux.
Let's start!
Getting ready
We need to get an Apache distribution. Apache is available within Ubuntu's default software repositories, making it possible to install it using conventional package management tools. Run these commands on the Linux machine:
- Update the local package index to reflect the latest upstream changes:
$ sudo apt update
- Install...