Apache HTTP and WEblogic Plug-in Location Directive question
Posted
by user275633
on Stack Overflow
See other posts from Stack Overflow
or by user275633
Published on 2010-04-01T21:38:00Z
Indexed on
2010/04/01
21:43 UTC
Read the original article
Hit count: 328
All,
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 us 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 teh 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 followign is a snippet of the httpd.conf: (Note formatting did not come thru properly but it is formatted correctly in my httpd.conf)
Blockquote
Location /MyWebApp
SetHandler weblogic-handler
WebLogicCluster myserver:7011
Location
Blockquote
Location /
SetHandler weblogic-handler
WebLogicCluster myserver:7011, myserver2:7012
Location
Thanks in advance.
© Stack Overflow or respective owner