News for hackers. Stuff that matters.
Re:Nweb: a tiny, safe web server (static pages only) by troels on Tuesday April 01, 2014 @03:02AM (#7506577)
This is mine:

    #!/bin/bash
    unlink /Library/WebServer/Documents
    ln -s "$(pwd)" /Library/WebServer/Documents
    echo "http://localhost/ mounted on $(pwd)"
Of course, it's only "lightweight" in as far as you already have Apache installed and running.

There are no comments on this comment yet.