user manual
Chapter 8: Apache web server to CORBA server connectivity 83
Configuring your Apache web server to invoke a CORBA server
server. Use the UriMapFile.properties file to map http uri strings to web cluster
names (CORBA instances) configured in the WebClusters.properties file.
■
In the UriMapFile.properties file, type:
<uri-mapping> = <clustername>
where <uri-mapping> is a standard URI string or a wild-card string, and
<clustername> is the cluster name as it appears in the ClusterList entry in the
WebClusters.properties file.
For example:
/examples = cluster1
/examples/* = cluster1
/petstore/index.jsp = cluster2
/petstore/servlet/* = cluster2
In this example:
■
Any URI that starts with /examples will be forwarded to a CORBA server
running in the "cluster1" web cluster.
■
URIs matching either /petstore/index.jsp or starting with /petstore/servlet
will be routed to "cluster2".
Note With the URI mappings, the wild-card "*" is only valid in the last term of the
URI and may represent the follow cases:
■
the whole term (and all inferior references) as in /examples/*.
■
the filename part of a file specification as in /examples/*.jsp.
Note Modifications you make to the UriMapFile.properties file automatically take
effect on the next request. You do not need to restart your server(s).
If the WebCluster.properties or UriMapFile.properties is altered, then it is
automatically loaded by the IIOP connector. This means that modifications to
either of these files can be done so without starting up or shutting down the
web server(s) or CORBA server(s).










