This sample shows how to create an Appweb loadable module. A module may provide an Appweb handler, filter, custom configuration directives or any functionality you wish to integrate into Appweb. Appweb modules are compiled into shared libraries and are dynamically loaded in response to appweb.conf LoadModule directives. If your main program is statically linked, the same module, without change may be included in the main program executable link, provided the module entry point is manually invoked from the main program.
make
make run
You will see trace in the console for the custom directive:
CustomConfig = color=red