Ask HN: Simple HTTP server for local dev and testing?

https://news.ycombinator.com/item?id=29613701
by forgotmypw17 • 5 years ago
6 9 5 years ago

I'm looking for a web server to use for local development and testing. My requirements are:

Simple to configure with one config file

Included as a package in most distributions

Supports CGI, access.log, HTTP Basic auth and htpasswd format, SSI, HTTP 1.1, setting expire headers, rewrite rules.

Stable configuration format

I've been using lighttpd for a while, but I am frustrated by its configuration churn. Every couple of version some option becomes "deprecated" with another one to replace it. This results in warnings when I launch it, extra work I have to do to get rid of them, and then managing these changes between all the different lighttpd versions I now have to support.

Does anyone know a good alternative?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com