weblogic plug-in apache http server location directive question
Posted
by user39510
on Server Fault
See other posts from Server Fault
or by user39510
Published on 2010-04-02T00:57:24Z
Indexed on
2010/04/02
1:03 UTC
Read the original article
Hit count: 606
We are using Weblogic Portal and Apache 2.x http server with the weblogic plug-in for apache for load-balancing.
We have an application that right now can only be accessed from one of our managed servers. What I would like to do is use the Location directive to direct all requests for that page to the one managed server and I can't get it to work. The context that the portal tries to forward to is something like /MyWebApp?portalusername= (where equals a legitimate user. For example /MyWebApp?portalusername=joesmith.
All other applications and the plug-in is load balancing as expected because every now and then you'll get sent to the second managed server for this particular application and its not deployed.
I tried various things in the Apache http.conf like the following but can't seem to get it work. Any suggestions? The following is a snippet of the httpd.conf. Its a standard out of the box httpd.conf file with the weblogic plugin configuration.
<Location /MyWebApp>
SetHandler weblogic-handler
WebLogicCluster myserver:7011
</Location>
<Location /?>
SetHandler weblogic-handler
WebLogicCluster myserver:7011, myserver2:7012
</Location>
© Server Fault or respective owner