1

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 ?

Sergio
  • 171

1 Answers1

4

Pagekite will probably fit to your needs.

See https://pagekite.net/wiki/Howto/ShareFilesSecurely/#h2bfs for instructions on serving up a directory. For convenience, the command you might want is

pagekite.py /path/to/folder KITENAME.pagekite.me +indexes

Or for an even simpler solution with nothing special to install:

python -m SimpleHTTPServer 8000