LWS is a lightweight web server which uses pthreads(3) for multi-tasking and the PDEL library for HTTP, HTTPS, and configurable servlet support. The server can be configured via a buit-in admin web interface, or by manually editing the XML configuration file. LWS supports multiple HTTP and HTTPS servers, each containing multiple virtual hosts. Each virtual host has a configurable list of servlets. The supported servlets types are file, redirect, and cookieauth. The file servlet includes optional support for tmpl(3) HTML templates. LWS maintains a self-rotating logfile(3) error log, with optional support for logging via syslog as well. LWS is intended to demonstrate features of the PDEL library, and to be a lightweight web server for simple applications.
LWS is a lightweight web server which uses pthreads(3) for multi-tasking and the PDEL library for HTTP, HTTPS, and configurable servlet support. The server can be configured via a buit-in admin web interface, or by manually editing the XML configuration file. LWS supports multiple HTTP and HTTPS servers, each containing multiple virtual hosts. Each virtual host has a configurable list of servlets. The supported servlets types are file, redirect, and cookieauth. The file servlet includes optional support for tmpl(3) HTML templates. LWS maintains a self-rotating logfile(3) error log, with optional support for logging via syslog as well. LWS is intended to demonstrate features of the PDEL library, and to be a lightweight web server for simple applications.
To install lws, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install lws
To see what files were installed by lws, run:
port contents lws
To later upgrade lws, run:
sudo port selfupdate && sudo port upgrade lws
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.