zhttpd is written in C89 and aims to compile on older UNIX systems with conservative make rules. At the same time, the "no heavy dependencies" philosophy makes it a good fit for modern minimal systems: small containers, stripped-down servers, embedded Linux distributions, and recovery environments where you just need a stable static server.
| Operating System | Build status | Test status | Notes |
|---|---|---|---|
| IRIX (MIPSpro / gcc) | Build OK | Tested OK | Often needs socket libs; conservative ANSI flags recommended. |
| Solaris 2.6 (SunPro C / gcc) | Build OK | Tested OK | May require -lsocket -lnsl. Works well on classic SPARC. |
| Tru64 UNIX (DEC/Compaq cc) | Build OK | Tested OK | Good libc baseline; emphasizes portable socket types and conservative headers. |
| Linux / *BSD | Build OK | Tested OK | Useful on modern minimal systems where you want a static server without extra libraries. |
| Other systems (AIX, HP-UX, Ultrix, OpenStep) | Expected OK | Community | Targeted by design; contributions for platform notes and patches are welcome. |
“Tested OK” indicates the binary was executed and served real requests on that platform. “Expected OK” indicates the codebase is engineered for the environment, but testing may depend on community hardware availability.
Typical build on most systems:
make
Example for Solaris/SunOS style socket libraries:
make LDLIBS='-lsocket -lnsl'
The build stays intentionally conservative: no autoconf/cmake and no dependency-heavy frameworks. That makes zhttpd suitable both for classic UNIX and for modern minimal environments.
Replace these URLs to match your actual hosting layout (or keep them as stable “virtual” endpoints).
zhttpd is released under the MIT License.
See LICENSE.
Copyright (c) 2026 zzif.