public
Description: A small http server for erlang.
Homepage: http://frihjul.net/iserve
Clone URL: git://github.com/noss/iserve.git
iserve /
name age message
file LICENSE Wed Oct 31 12:56:20 -0700 2007 Adding copyright email address. [Torbjorn Tornkvist]
file Makefile Sun Mar 08 14:53:41 -0700 2009 Adding testcases to be used from common_test C... [noss]
file README.textile Mon Mar 23 11:44:40 -0700 2009 freenode test [noss]
file cover.spec.in Sun Mar 08 14:53:41 -0700 2009 Adding testcases to be used from common_test C... [noss]
directory doc/ Sat Feb 28 09:06:26 -0800 2009 doc/README.textile added [noss]
directory ebin/ Sat Feb 28 08:44:52 -0800 2009 Adding some .gitignore files to make git status... [noss]
directory examples/ Wed Mar 11 13:47:38 -0700 2009 Moving out examples to make room for ct tests [noss]
directory include/ Wed Nov 07 14:30:54 -0800 2007 Modifying iserve so that use of ifile:sendfile ... [etnt]
directory src/ Sun Mar 08 14:38:40 -0700 2009 Iserve master is passed the registered name of ... [noss]
file test.spec.in Sun Mar 08 14:53:41 -0700 2009 Adding testcases to be used from common_test C... [noss]
directory test/ Wed Mar 11 13:47:38 -0700 2009 Moving out examples to make room for ct tests [noss]
README.textile

Steps to get a simple test up:

  1. cd iserve
  2. make test
  3. erl -pa ./test
    application:start(sasl).
    application:start(iserve).
    iserve:add_server(iserve_master, 6464, iserve_test, x).
  4. Point your browser to http://localhost:6464/

You can add more http listeners, on other ports, served by other callback modules.

iserve:add_server(iserve_master, 6465, iserve_test2, x).

Then point your browser at http://localhost:6465/