This chapter describes the parameters that you can use to configure the Oracle HTTP Server, Apache HTTP Server, Microsoft IIS, and Oracle iPlanet Web Server plug-ins. It contains the following sections:
Note:
The parameters for the web-server plug-ins should be specified in special configuration files, which are named and formatted uniquely for each web server. For information about the configuration files specific to the plug-ins for Apache HTTP Server, Oracle HTTP Server, Microsoft IIS, and Oracle iPlanet Web Server, see the following chapters:
The general parameters for Web server plug-ins are shown in Table 7-1. The parameters are case sensitive.
Table 7-1 General Parameters for Web Server Plug-Ins
Parameter Name | Default | Description | Applicable to |
---|---|---|---|
(Required when proxying to a single WebLogic Server.) |
none |
WebLogic Server host (or virtual host name as defined in WebLogic Server) to which HTTP requests should be forwarded. If you are using a WebLogic cluster, use the |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
(Required when proxying to a single WebLogic Server.) |
none |
Port at which the WebLogic Server host is listening for connection requests from the plug-in (or from other servers). (If you are using SSL between the plug-in and WebLogic Server, set this parameter to the SSL listen port and set the If you are using a WebLogic Cluster, use the |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
(Required when proxying to a cluster of WebLogic Servers, or to multiple non-clustered servers.) |
none |
The List of WebLogic Servers that can be used for load balancing. The server or cluster list is a list of host:port entries. If a mixed set of clusters and single servers is specified, the dynamic list returned for this parameter will return only the clustered servers. The syntax for specifying the value of this parameter varies depending on the web server for which you are configuring the plug-in. For more information, see the following:
If you are using SSL between the plug-in and WebLogic Server, set the port number to the SSL listen port and set the SecureProxy parameter to ON. The plug-in does a simple round-robin between all available servers. The server list specified in this property is a starting point for the dynamic server list that the server and plug-in maintain. WebLogic Server and the plug-in work together to update the server list automatically with new, failed, and recovered cluster members. You can disable the use of the dynamic cluster list by setting the DynamicServerList parameter to The plug-in directs HTTP requests containing a cookie, URL-encoded session, or a session stored in the POST data to the server in the cluster that originally created the cookie. |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
null |
As per the RFC specification, generic syntax for URL is: [PROTOCOL]://[HOSTNAME]:{PORT}/{PATH}/{FILENAME};{PATH_PARAMS}/{QUERY_STRING}...
http://myWeb.server.com/weblogic/foo is passed to the plug-in for parsing and if http://myWeb.server.com:7001/foo Note that if you are newly converting an existing third-party server to proxy requests to WebLogic Server using the plug-in, you will need to change application paths to |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
null |
As per the RFC specification, generic syntax for URL is: [PROTOCOL]://[HOSTNAME]:{PORT}/{PATH}/{FILENAME};{PATH_PARAMS}/{QUERY_STRING}...
Note that if you need to append File Name, use |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
10 |
Maximum time in seconds that the plug-in should attempt to connect to the WebLogic Server host. Make the value greater than You can customize the error response by using the |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
2 |
Interval in seconds that the plug-in should sleep between attempts to connect to the WebLogic Server host (or all of the servers in a cluster). Make this number less than the To specify no retries, set You can customize the error response by using the |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
OFF |
Sets the type of logging performed for debugging operations. The debugging information is written to the Override this location and filename by setting the Ensure that the tmp or TEMP directory has write permission assigned to the user who is logged in to the server. Set any of the following logging options (HFC,HTW,HFW, and HTC options may be set in combination by entering them separated by commas, for example “HFC,HTW”):
|
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
See the |
Specifies path and file name for the log file that is generated when the |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
0 (Lookup once, during startup) |
If defined in the proxy configuration, specifies number of seconds interval at which WebLogic Server refreshes DNS name to IP mapping for a server. This can be used in the event that a WebLogic Server instance is migrated to a different IP address, but the DNS name for that server's IP remains the same. In this case, at the specified refresh interval the DNS<->IP mapping will be updated. |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server |
|
See the Debug parameter |
Specifies the directory where a Also specifies the location of the When both |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
OFF |
Enables the special query parameter “__WebLogicBridgeConfig”. Use it to get details about configuration parameters from the plug-in. For example, if you enable “__WebLogicBridgeConfig” by setting This parameter is strictly for debugging and the format of the output message can change with releases. For security purposes, keep this parameter turned OFF in production systems. |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
none |
You can create your own error page that is displayed when your Web server is unable to forward requests to WebLogic Server. The plug-in redirects to an error page when the back-end server returns an HTTP 503/Service Unavailable response and there are no servers for failover. |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
2 (must be greater than 0) |
Set the timeout for the socket while connecting, in seconds. See |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
(new name for |
300 |
Defines the amount of time the plug-in waits for a response to a request from WebLogic Server. The plug-in waits for Minimum value: 10 Maximum value: Unlimited |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
ON |
When set to ON and if the servers do not respond within WLIOTimeoutSecs, the plug-ins fail over if the method is idempotent. The plug-ins also fail over if Idempotent is set to ON and the servers respond with an error such as If set to “OFF” the plug-ins do not fail over. If you are using the Apache HTTP Server you can set this parameter differently for different URLs or MIME types. |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
( |
JSESSIONID |
If you change the name of the WebLogic Server session cookie in the WebLogic Server Web application, you need to change the |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
none |
If the URI is “/” then the plug-in performs the following steps: Trims the path specified with the Appends the value of Prepends the value specified with This procedure prevents redirects from WebLogic Server. Set the DefaultFileName to the default welcome page of the Web Application in WebLogic Server to which requests are being proxied. For example, If the Note for Apache users: If you are using Stronghold or Raven versions, define this parameter inside of a |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
-1 |
Maximum allowable size of POST data, in bytes. If the content-length exceeds |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
none |
When proxying by MIME type, set the filename pattern inside of an IfModule block using the Example when proxying by MIME type: <IfModule weblogic_module> MatchExpression *.jsp WebLogicHost=myHost|paramName=value </IfModule> Example when proxying by path: <IfModule weblogic_module> MatchExpression /weblogic WebLogicHost=myHost|paramName=value </IfModule> It is possible to define a new parameter for MatchExpression *.jsp PathPrepend=/test PathTrim=/foo |
Oracle HTTP Server Apache HTTP Server |
|
ON |
When set to Note that when When set to Note that turning Finally, regardless of how |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
none |
This parameter allows you make exclude certain requests from proxying. This parameter can be defined locally at the Location tag level as well as globally. When the property is defined locally, it does not override the global property but defines a union of the two parameters. |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
20 |
The length of time after which an inactive connection between the plug-in and WebLogic Server is closed. You must set The value of this parameter must be less than or equal to the value of the Duration field set in the Administration Console on the Server/HTTP tab, or the value set on the server Mbean with the |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
true (Microsoft IIS plug-in) ON (Oracle HTTP Server and Apache HTTP Server) ON (Oracle iPlanet Web Server) |
Enables pooling of connections between the plug-in and WebLogic Server. Valid values for the Microsoft IIS plug-ins are true and false. Valid values for the Apache HTTP Server are Valid values for Oracle iPlanet Webserver are |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
OFF |
When set to (request_rec *)r->the_ request to pass the query string to WebLogic Server. (For more information, see the Apache documentation.) This behavior is desirable when a Netscape version 4.x browser makes requests that contain spaces in the query string When set to |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server |
|
10 |
If a WebLogic Server listed in either the
|
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
ON |
When set to There are some implications for setting this parameter to
|
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
OFF |
Set this parameter to
When |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
OFF |
If you have a chained proxy setup, where a proxy plug-in or |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
none |
Defines the IP address (on the plug-in's system) to bind to when the plug-in connects to a WebLogic Server instance running on a multihomed machine. If |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
ON |
When this parameter is set to ON, the header and body of the response are sent in separate packets. Note: If you need to send the header and body of the response in two calls, for example, in cases where you have other ISAPI filters or programmatic clients that expect headers before the body, set this parameter to ON. |
Microsoft IIS |
|
False |
By default, IIS plug-in buffers chunked transfer encoding responses instead of streaming the chunks as they are received. When the flag |
Microsoft IIS |
|
OFF |
If a load balancer or other software deployed in front of the web server and plug-in is the SSL termination point, and that product sets the WL-Proxy-SSL request header to true or false based on whether or not the client connected to it over SSL, set If the SSL termination point is in the web server where the plug-in operates, or the load balancer does not set WL-Proxy-SSL, set |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
On |
This controls whether or not a 503 error response from Oracle WebLogic Server triggers a failover to another server. Normally, the plug-in will attempt to failover to another server when a 503 error response is received. When |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
OFF |
When set to ON, the WLS plug-in will forward the original URI from the client to WebLogic Server. When set to OFF (default), the URI sent to WebLogic Server is subject to modification by mod_rewrite or other web server plug-in modules. |
Oracle HTTP Server Apache HTTP Server |
|
OFF |
This is an alternative to the SetHandler weblogic-handler mechanism of identifying requests to be forwarded to Oracle WebLogic Server. For example, <Location /weblogic> WLSRequest ON PathTrim /weblogic </Location> The use of
|
Oracle HTTP Server Apache HTTP Server |
When the FileCaching parameter is set to ON, and the size of the POST data in a request is greater than 2048 bytes, the POST data is first read into a temporary file on disk and then forwarded to the WebLogic Server in chunks of 8192 bytes. This preserves the POST data during failover.
The temporary POST file is located under /tmp/_wl_proxy
for UNIX. For Windows it is located as follows (if WLTempDir
is not specified):
Environment variable TMP
Environment variable TEMP
C:\Temp
/tmp/_wl_proxy
is a fixed directory and is owned by the HTTP Server user. When there are multiple HTTP Servers installed by different users, some HTTP Servers might not be able to write to this directory. This condition results in an error.
To correct this condition, use the WLTempDir
parameter to specify a different location for the _wl_proxy
directory for POST data files.
Note:
SCG Certificates are not supported for use with WebLogic Server Proxy Plug-Ins. Non-SCG certificates work appropriately and allow SSL communication between WebLogic Server and the plug-in.
KeyStore-related initialization parameters are not supported for use with WebLogic Server Proxy Plug-Ins
The SSL parameters for Web Server plug-ins are shown in Table 7-2. Parameters are case sensitive.
Table 7-2 SSL Parameters for Web Server Plug-Ins
Parameter | Default | Description | Applicable to |
---|---|---|---|
|
OFF |
Set this parameter to ON to enable the use of the SSL protocol for all communication between the plug-in and WebLogic Server. Remember to configure a port on the corresponding WebLogic Server for the SSL protocol before defining this parameter. This parameter may be set at two levels: in the configuration for the main server and—if you have defined any virtual hosts—in the configuration for the virtual host. The configuration for the virtual host inherits the SSL configuration from the configuration of the main server if the setting is not overridden in the configuration for the virtual host. |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |
|
none |
Requires the path of an Oracle Wallet (containing an SSO wallet file) as an argument. For example, |
Oracle HTTP Server Oracle iPlanet Web Server Apache HTTP Server Microsoft IIS |