Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

74 lines (46 sloc) 2.095 kb
out(A) ->
{ok, B1} = file:read_file([A#arg.docroot, "/HEAD"]),
{ok, B2} = file:read_file([A#arg.docroot, "/TOPTAB"]),
{ok, [B1, B2]}.
Yaws is a HTTP 1.1
webserver currently under rapid development.
Two separate modes of operations are supported.
<li> Standalone mode where yaws runs as a regular webserver daemon. This is the default mode.
<li> Embedded mode wher Yaws runs as an embedded webserver in an
another erlang application. This mode is ideal when we want to build a web UI
to control an erlang application
Yaws is entirely written in <a href="">Erlang</a>,
futhermore it is a multithreaded webserver where one Erlang light weight
processis used to handle each client.
Yaws has excellent capabilies to generate dynamic content. Erlang code
can be embedded into the HTML code in manner similar
to <a href="">php</a>. As matter of fact, the
ad-hockery of php was one of major reasons I started the Yaws project.
The homepage of Yaws is <a href=""></a>
The documentation, examples as well as releases can be found there, and
of cource, <a href=""></a> is itself
powered by Yaws.
<h2>Build and install</h2>
Yaws is hosted by the excellent source code base SourceForge <a href=""><img src="" width="88" height="31" border="0" alt=" Logo"></a>. To cvs check out the latest source first install
an <a href="">Erlang</a> system, then do:
# export CVS_RSH=ssh
# cvs login
# cvs -z3 co .
# cd yaws; make; make install
Will checkout the bleeding edge source, build it and install it at with the docroot set to the local documentation.
<IMG SRC="/icons/yaws_pb.gif" >
Jump to Line
Something went wrong with that request. Please try again.