#!/bin/sh # This file starts the sweb web server, which hosts all plt scheme # sites (servlets) from a single instance. Apache is used to proxy # this into existing sites. # (to be) sites: # - zwizwa.be # - deyofthephoenix.com # Create temporary directory for mfiles and install cleanup handler. # Since there is only a single instance per machine, we can use a # global name. This makes cleanup simpler as it can happen before # running the server. export TMPDIR=/tmp/sweb rm -rf $TMPDIR mkdir $TMPDIR # Use the location of this file to find the project root and go. cd $(readlink -f $(dirname $0))/web-root exec plt-web-server -f configuration-table.ss