Do not know that there is no easy-to-use online open source and in C + + development of the HTTP server source code. The project needs to integrate the functions of the HTTP server, the specific requirements are as follows: 1. You can bind multiple ports 2. You can configure a virtual Host 3. Basic HTTP service features (such as: access to static pages, access to pictures, etc.) 4. It's best to simply handle PHP requests
Reply content:
Do not know that there is no easy-to-use online open source and in C + + development of the HTTP server source code. The project needs to integrate the functions of the HTTP server, the specific requirements are as follows: 1. You can bind multiple ports 2. You can configure a virtual Host 3. Basic HTTP service features (such as: access to static pages, access to pictures, etc.) 4. It's best to simply handle PHP requests
Try Https://github.com/cesanta/mongoose, except the fourth one doesn't seem to be possible, and there's a very good API.