Mapping Web server requests to EAServer listeners

You must configure the redirector configuration file by adding the Connector.WebApp directive, which maps your requests to the EAServer listener to which they are redirected. The syntax is:

Connector.WebApp contextpath1 [, contextpath2, and so on] = \
http://host:port [, http://host:port, and so on]          

For example, if “neptune” is the name of your Web server, and WEB_SERVER_HOME/conf/conn_config is the name and location of the redirector configuration file that you create, edit conn_config to set the Connector.WebApp directive:

Connector.WebApp /testapp = http://jaghost1:8000
Connector.WebApp /estore1, /estore2, /estore3 = http://neptune:8000
Connector.WebApp /* = http://foobar:8000, http://neptune:8000
Connector.WebApp examples=http://jaghost1:8000, http://jaghost1:3080, http://jaghost2:8000

Single-line entries

You must make entries in the redirector configuration file on a single line. You can combine EAServer hosts in one entry or create multiple entries; for example:

Connector.WebApp /*=http://rainforest:8000,http://neptune:8000

Is the same as:

Connector.WebApp /*=http://rainforest:8000
Connector.WebApp /*=http://neptune:8000 

In addition, the server hosts specified for the WebApp directive (in this case “rainforest” and “neptune”) must match the host names you define for your EAServer HTTP listeners. Use the Web Console to view and set host names for your EAServer HTTP listeners. See Chapter 3, “Creating and Configuring Servers,” in the EAServer System Administration Guide.