Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > Deploying WebObjects Applications

   

Web Server Adaptor

The adaptor sends discovery requests out on a particular multicast "channel" (IP address + port). The defaults are:

Default IP Address: 239.128.14.2

Default port: 1085

The default multicast address is within the "Adminstratively Scoped Domain." That is, it's within the range of addresses intended for internal use inside organizations.

For Apache, place the following in your apache.conf (the final value--10 in this instance--indicates the configuration refresh interval):

WebObjectsConfig webobjects://239.128.14.2:1085 10

For CGI, either recompile, or set the WO_CONFIG_URL environment variable as above.

Note: With Apache, you'll need the SetEnv command, which comes with the "env" module. Note that Mac OS X Server doesn't switch this module on by default.

For NSAPI, place something like the following in your obj.conf:

Standard:

Init fn="WebObjects_init" root="/opt/ns-home/docs"
 config="http://localhost:1085"

Multicast:

Init fn="WebObjects_init" root="/opt/ns-home/docs"
 config="webobjects://239.128.14.2:1085"

For ISAPI, add the following to the registry:

\\SOFTWARE\\Apple\\WebObjects\\Configuration\\CONF_URL
 webobjects://239.128.14.2:1085

© 1999 Apple Computer, Inc. – (Last Updated 25 August 99)