AFWS – Another Free Web Server

Download the Latest Version of AFWS

AFWS is simple web server I wrote using C++. It’s still a work in progress, and does not have all the features that more advanced web servers such as Apache support. AFWS was written as a hobby of mine in my spare time. It’s not currently meant to be used as a production web server. If this is what you are looking for, I suggest you download Apache.

AFWS Supports most of the HTTP protocol, as well as the ability to configure it to execute CGI scripts such as PHP, PERL, JSP, Ruby, or any scripting language that can run as a CGI script.

AFWS was written for the Unix environment, and I’m not sure if it will compile under windows using cygwin. In fact, AFWS has only been tested in Linux.

To start using and testing AFWS, download it from the link above, and execute the following command:

> tar xvfz afws-x.x.tar.gz
> cd afws-x.x
> make
> ./afws

The make command will compile the source and you will be left with a binary named afws. The last command executes AFWS and starts it with the default configuration. If you already have a web server running on your computer, AFWS may not be able to start because port 80 is already be in use. You will need to edit the afws.conf configuration file located in the conf directory. Read the INSTALL file included in the download for more information