The WebObjects.conf File

The WebObjects.conf configuration file is a text file that you create in your Web server's cgi-bin directory.

Note: If you want to use the WebObjects.conf file with WebObjects' Netscape Interface (NSAPI) Adaptor, then locate WebObjects.conf in your ns-home/http[d/s-port]/config/ directory rather than in your Web server's cgi-bin directory.

The WebObjects Adaptor inspects the WebObjects.conf file to resolve URL information or to autostart a WebObjects application.

The way in which you specify WebObjects applications in the WebObjects.conf file lets you institute load-balanced distribution of WebObjects applications across your network.


The Structure of WebObjects.conf

The WebObjects.conf configuration file is a line-oriented ASCII file that on each line names an application, host, and maximum number of instances to run on the host, using space character separators.

The format of a line in the configuration file WebObjects.conf is always

[ApplicationDirectory]:[ApplicationNumber]@[hostname] [ApplicationPort]

Note the following additional rules for creating a WebObjects.conf file.


Here are sample contents of a WebObjects.conf file: