The engine reads the same configuration file as the command line version of ScriptBasic and several option keys alter its behavior. Here we detail only those keys that are specific to the engine. For further information on the configuration file format and the keys that control general ScriptBasic behavior please read the Userís Guide.
All special keys that control the Eszter SB Application Engine are under the key httpd in the configuration file. For example the configuration file (text format) fragment:
define that the server should listen on the port 8080, the home directory for the executable BASIC programs is `\MyProjects\sb\source\examples\' (that is the directory we use under Windows NT on the development station) and the client ip should not be proxy-ed (explained later).
Note that this configuration sample is not enough to start the Eszter SB Engine. It should be carefully configured otherwise it may stop reporting configuration errors. For fastest result without reading this chapter edit the sample configuration file, compile it and give it a try.
In the following sections we detail each configuration key that Eszter SB Engine uses to control its behavior. All these keys should be under the key httpd.
Note that all directory names should be expressed as absolute full path to the given directories or files. The reason for this is that there is no guarantee of the default directory. Even an executed script can alter the current directory using the command chdir and the next execution may not find the input file, may not find the pid file and thus will not be able to execute the next script or even stops the engine.