C++ Server Side Web Development
CGI, the Common Gateway Interface is a simple way to write web applications. It is by no means the fastest and some may say that:
"If you're planning to write your web application in C++, it would be total waste to then interface it as CGI.
My suggestion would be to build it asynchronous using ASIO (Asynchronous I/O). With that you can build blazing fast web service (combine with nginx as a reverse-proxy and statics server for best effects); Combine that with template library like Wt and you're ready to serve tens of thousands request per second from a single server.
Whether this is practical alternative to dynamic language web framework is another issue." vartec 2013
However, it is a simple way of demonstrating server side web development with a number of programming languages, including C++.
Install Apache2
To support websites built with C++ using the CGI requires webserver software capable of (which is all of them) and configured to enable (not all of them) execute code in a cgi directory.