This project provides libraries for writing server-side web application in C++ based on the Qt toolkit. It is a light-weight implementation that works like Java Servlets from the programmers point of view.
If you write a real application based on this source, take a look into startup.cpp, which contains startup and shutdown procedures. The example source sets up a single listener on port 8080, however multiple listeners with individual configuration could be set up.
Incoming requests are mapped to several controller classes in requestmapper.cpp, based on the requested URL. These controllers work like Java Servlets, they are derived from HttpRequestHandler. If you want to learn form the example, then focus on these classes.
High-availability and HTTPS encryption can be easily added by putting an Apache HTTP server in front of the self-written web application using the mod-proxy module with sticky sessions.