I would like to install a lightweight http server that can be configured as simply as going to the directory where I want to start a site, executing a simple command to tell it in which port, and that can easily be shutdown afterwards. In short, without having to deal with configuration files for this simple task.
I am aware of ligthtpd. It is simple but apparently still require me to write an (admittedly small) configuration file. Someone recommended me node.js, but it may be overkill. Which are other alternatives for OSX and Linux ?