TWeBS 0.1 README
======================
+ Welcome
Welcome to TWebS 0.1 a tiny web server designed as a quick and easy
solution to share some www content! No bells nor whistles here.
+ Background
The server was written as a credit project in "Programming in Assembler"
course held at Silesian University of Technology. Author is Tomasz
Koprowski and can be reached vie email: tomek[AT]koprowski[D0T]org.
+ Requirements
a modern Linux operating system (glibc-based)
flat assembler as found on http://flatassembler.sourceforge.net
gcc (used only for linking with glibc)
+ Download
Get it from here: twebs.tar.gz.
+ Installation
If you wish TWebS to bind to a port different then 8080 modify
twebsd.asm - somewhere near the bottom of the file exists
a 'port db 8080' directive - modify the number to whatever you
want, but remember: only root can bind to ports below 1024.
To build the executable just run 'make' in the twebs directory
and the 'twebsd' will be created.
+ Testing
Run 'servertest.sh' and connect with your browser to your server.
If everything worked fine you will see some debugging messages in
the console and your browser will show you TwebS greeting page.
+ Running
It's simple: change to the directory you want to serv content from
and run twebsd. TWebS will not serve files from directories not
originating in the directory you started it from.