One of the Delphi features most awaited by server side Delphi developers is the support for the building of Apache webserver module. Delphi XE6 brings this feature! The most recent Apache versions supported are Versions 2.0, 2.2 and 2.4. An apache module is compatible only with the specific version for which it has been compiled. So, be sure about the apache version you have to deploy your module before creating the project. However, it's possible to change the target apache version just by changing its unit name.
In this recipe, we'll create a very simple REST service with only one method, which returns a list of people. The service will be built using the Embarcadero DataSnap framework and the service itself will be packaged as an Apache Webserver module. The real goal of this recipe is to show how to use the Delphi strength in creating Apache module, and a very light introduction to DataSnap.