This is a lightweight web server based on epoll and a simple EDA (event-driven architecture).
git clone https://github.com/Arondight/dinner.git dinner
cd dinner
./build.sh
For a test, you can run dinner
after build like:
./bin/dinner -p 8080 -r htdocs
Then visit 127.0.0.1:8080 in your web browser.
If you want to test CGI, visit 127.0.0.1:8080/test.html.
Read systemd/README.txt for configure.
- Linux >= 2.6
- Glibc >= 2.3.2
- GCC >= 3.3
- CMake >= 2.6
- Perl >= 5.10 and CGI.pm >= 4.08 (both not necessary but recommended)
Run dinner -h
Copyright (c) 2015-2016 秦凡东 (Qin Fandong)
Read LICENSE