user manual

Chapter 5: Web server to web container connectivity 43
Apache to Borland web container connectivity
Modifying the IIOP configuration in Apache
The httpd.conf file is the global configuration file for the Apache web server.
Within the httpd.conf file are the following lines which pertain to the IIOP
connector.
Windows LoadModule iiop2_module <install_dir>/lib/apache2/mod_iiop2.dll
IIopLogFile <install_dir>/var/domains/<domain_name>/
configurations/<configuration_name>/mos/apache2/logs/mod_iiop.log
IIopLogLevel error
IIopClusterConfig <install_dir>/var/domains/<domain_name>/
configurations/<configuration_name>/mos/apache2/conf/WebClusters.properties
IIopMapFile <install_dir>/var/domains/<domain_name>/
configurations/<configuration_name>/mos/apache2/conf/UriMapFile.properties
port 0 (zero) The IIOP connector port. If set to 0 (zero) - the
default, a random port gets picked. If the corbaloc
mechanism must be used to locate this connector
from Apache or IIS, then port must be set to a value
other than 0 (zero).
canBufferHttp10Data true When the HTTP protocol is less than 1.1 and the
content length is not set on a servlet, the following
two choices are available for the web container. It
can buffer up the data, compute the content length,
and then send the response or it can raise an error
message. To avoid buffering the data and consuming
memory, set this attribue to false.For more
information, go to Browsers supporting only the
HTTP 1.0 protocol on page 51.
Table 5.1 IIOP connector attributes
Attribute Default Description