This project will show how to make a Simple HTTP Server by using Libevent in unix environment under 100 lines of codes for Educational Purposes.
The main goal of this project is to show how to use libevent to create an event driven web server. Thus, I tried to make this project as simple as possible (by ignoring security factors). Therfore, this project contains some security issues (including non validation of users' input).
g++ server.cpp -o server -std=c++11 -levent./server [HOME DIR] [PORT]usage example
./server /var/www/html 8080MIT License.