Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (18 sloc) 0.617 kb
%%%-------------------------------------------------------------------
%%% File : ybed.erl
%%% Author : <klacke@hyber.org>
%%% Description : Small embedded yaws example
%%%
%%% Created : 25 Nov 2003 by <klacke@hyber.org>
%%%-------------------------------------------------------------------
-module(ybed).
-compile(export_all).
-include("/usr/local/lib/yaws/include/yaws.hrl").
start() ->
application:start(yaws),
GC = yaws_config:make_default_gconf(false),
SC = #sconf{port = 8888,
servername = "foobar",
listen = {0,0,0,0},
docroot = "/tmp"},
yaws_api:setconf(GC, [[SC]]).
Jump to Line
Something went wrong with that request. Please try again.