This section shows how to model some situations which occur frequently when setting up a web server and concepts from other servers with a more traditional structure with NetForge's configuration system.
Topics:
Many web servers have a main document root directory which is mounted at the root of the virtual server hierarchy. Special resources like CGI programs or Servlets are invoked by an appropriate handler.
NetForge does not have a document root. Instead all areas of the virtual hierarchy are served by their own Responders. In order to make all areas relative to a real base directory you can use a common Backend for all Frontends and set the Backend offset of each Frontend to its own area name. If you want to move the whole document tree to a different location, you only need to change the location in the Backend and not in all Frontends.
The following steps are required to set up a responder for form-based file uploads:
/upload
ACTION=/upload
<FORM>