This example shows a complete simple website implemented under Iowa with
WEBrick.  The idea is to show how Iowa + WEBrick can be used to provide
a complete standalone application server capable of delivering all of the
content, including images and other static content as well as traditional
CGI program execution, that one would need for a web based application or
for a web site that makes use of a lot of dynamic content.

The example will work equally well on Unix or Windows environments, and
should execute "out of the box" with one caveat.  The code for a simple
CGI generated page makes the assumption that, if one's platform is Windows,
that Ruby is found at c:\ruby\bin\ruby.exe and that otherwise it is at
/usr/bin/ruby.  If this is not the case, you will need to edit the first
line of either cgi-bin/cgi_page-win.cgi or cgi-bin/cgi_page-other.cgi,
depending on your platform.

When you are ready to try this example, run the webrick/iowa_webrick.rb
program, then point your browser at http://localhost:2000.  It's that
simple!  The simple demo web application makes use of pstore, so please
make sure that the user you run this example as can write to it's
directories.

While Iowa runs fine on Ruby 1.6.8 installations, to run this example on
1.6.8 one must, in addition to the Log4R library, have installed YAML and
WEBrick as neither were bundled in the 1.6.x Rubies.

Let me know if you have any problems!


Thanks,

Kirk Haines
khaines@enigo.com
