Configure the uriworkermap.properties File on Microsoft IIS and Apache-Based Servers
The uriworkermap.properties
file is used to specify mappings between a given URL (or URL pattern) and worker name. The following shows the contents of a sample uriworkermap.properties
file.
# /itg/* must be mapped to one of the workers /itg/*=load_balancer /dashboard/*=load_balancer /reports/*=load_balancer /logs/*=load_balancer /pdf/*=load_balancer /utility_portlets/*=load_balancer # You can access the JK status page at # http://web_server_host:web_server_port/jkmanager. # If you want to enable the JK status page, uncomment the # following line. #/jkmanager=jkstatus
Each line of uriworkermap.properties
file represent a single mapping in the format <URL_Pattern> = <Worker_Name>.
If the Web server processes a URL that matches <URL_Pattern>,
then <Worker_Name>
is used to serve this request. <Worker_Name>
must be defined in the workers.properties
file.