When you need a web server in a hurry. darkhttpd is a simple and efficient web server written in portable C. It has a small memory footprint, and runs a single-threaded event loop. It generates directory listings, supports HTTP GET & HEAD, IPv6, and more. darkhttpd only serves static content - no CGI.
When you need a web server in a hurry. darkhttpd is a simple and efficient web server written in portable C. It has a small memory footprint, and runs a single-threaded event loop. It generates directory listings, supports HTTP GET & HEAD, IPv6, and more. darkhttpd only serves static content - no CGI.
To install darkhttpd, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install darkhttpd
To see what files were installed by darkhttpd, run:
port contents darkhttpd
To later upgrade darkhttpd, run:
sudo port selfupdate && sudo port upgrade darkhttpd
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.