I'm using the latest load balancer build.
I see following in
apache-stratos-load-balancer-4.0.0-SNAPSHOT/repository/deployment/server/synapse-configs/default/sequences/main.xml
<filter regex=".+" source="$trp:Location">
<property expression="$ctx:SERVICE_PREFIX" group="2"
name="LB_SP_HOST_NAME"
pattern="(^http.?:\/\/\b)(\d*.\d.\d.\d*.\d*)(?::(\d*))?(.*)"/>
<property expression="$trp:Location" group="1"
name="EP_RESPONSE_LOC_PROTOCOL"
pattern="(^http.?:\/\/\b)(\d*.\d.\d.\d*.\d*)(?::(\d*))?(.*)"/>
<property expression="$trp:Location" group="2"
name="EP_RESPONSE_LOC_HOST_NAME"
pattern="(^http.?:\/\/\b)(\d*.\d.\d.\d*.\d*)(?::(\d*))?(.*)"/>
<property expression="$trp:Location" group="4"
name="EP_RESPONSE_LOC_PATH"
pattern="(^http.?:\/\/\b)(\d*.\d.\d.\d*.\d*)(?::(\d*))?(.*)"/>
<switch source="fn:lower-case($ctx:EP_RESPONSE_LOC_PROTOCOL)">
<case regex="https://">
<property
expression="fn:concat($ctx:EP_RESPONSE_LOC_PROTOCOL,$ctx:LB_HOST_NAME,':',$ctx:LB_HTTPS_PORT,$ctx:EP_RESPONSE_LOC_PATH)"
name="Location" scope="transport"/>
</case>
<case regex="http://">
<property
expression="fn:concat($ctx:EP_RESPONSE_LOC_PROTOCOL,$ctx:LB_HOST_NAME,':',$ctx:LB_HTTP_PORT,$ctx:EP_RESPONSE_LOC_PATH)"
name="Location" scope="transport"/>
</case>
</switch>
</filter>
On Sun, Apr 6, 2014 at 2:10 PM, Udara Liyanage <[email protected]> wrote:
> Nope. I did check only the phpmyadmin thing.
> Hope your LB have this fix.
>
> Touched, not typed. Erroneous words are a feature, not a typo.
>
--
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware
about.me/chrishantha