Creating WebBroker Apache modules
As we have already said, WebBroker is a technology available since Delphi 4 to help create web server applications exposing an HTTP/HTTPS interface. It is a very thin layer on top of HTTP/S but I love it because it doesn't try to do a lot of things, but remains at a low level, allowing you to implement the rest of the architecture as you need. Therefore, Embarcadero used WebBroker as a framework to create DataSnap and EMS. So it is very important to know it, because by knowing it, you have all the power to create web "things" such as HTTP/S services, HTML interfaces, and so on.
In this recipe, we'll create a 64bit WebBroker Apache module, install it in a custom Apache 2.4 distribution, 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). Let's start!
Getting ready
We need to get an Apache distribution. You...