The first thing you should do is to configure the Server specific variables.

Most of those variables should be correct by default. However I suggest that you check them all, especially Server URL, Listen ports and Domain.

We want our server to run on the default WWW port number, which is 80. As we said before, Spinner needs to run as root to be able to open this port. If you're using the UID/GID feature, [RESTART] Spinner now.

Adding modules

To be able to add modules (like file systems), you need to focus on the virtual server. You do this by pressing on the name of the server, just like you did when focusing on the Virtual Servers menu.

As you can see, two new buttons has appeared at the end of the page; [NEW MODULE] and [ZAP VIRUAL SERVER].

If you click on [ZAP VIRUAL SERVER], the whole virtual server is deleted. To add a new module, press [NEW MODULE]. You will now get a list of all available modules, which a short description about them included. (Read the module documentation for more information about the modules shipped with Spinner.)

By default there are two modules enables, the SPML Parser and the Content-type module. To get a working WWW-server, you just need to add a filesystem module.

As this is the first filesystem you're adding, you only need to change one variable to get the server up and running; Search Path. This is the path to the directory where your server's HTML-files are located. Try to enter an incorrect path.

As you can see, Spinner notices this, and complain loudly. Enter a correct path, and try again.

Press the [SAVE] button, and the fileystem is configured. You should now try using your newly configured server, by connecting to your servers URL.

If everything went well, you now have a working WWW-server! This is the end of this tutorial. You should be able to add and configure more modules on your own now. We would appreciate if you send us a mail with your thoughts and comments about this tutorial.