Forum Discussion
Arnfinn_Roland_
Nimbostratus
Jun 17, 2011ProxyPass v.10
Hello!
Upgraded a Bigip cluster from v.9.4 to 10.2 last night and found old faithful ProxyPass stopped working for us. So:
I'm moving from ProxyPass v.4 to v.10 and need to adapt some of the changes we had to do in the previous version.
The problem is related to useing escape characters in the stream expression.
By removing the conflicting line "@src=\"/@src="$bankid@ \" everything works. How can I escape the " character?
set stream_expression_cmd "STREAM::expression \"@http://$host_serverside$path_serverside@https://$host_clientside$path_clientside@ \
@$layouts@$bankid$layouts@ \
@$wpresources@$bankid$wpresources@ \
@src=\"/@src=\"$bankid@ \
@nettbank@000007@\""
Regards,
Arnfinn R.
2 Replies
- hoolio
Cirrostratus
Hi Arnfinn,
Can you try this?set stream_expression_cmd "STREAM::expression \"@http://$host_serverside$path_serverside@https://$host_clientside$path_clientside@ \ @$layouts@$bankid$layouts@ \ @$wpresources@$bankid$wpresources@ \ @src=\\\"/@src=\\\"$bankid@ \ @nettbank@000007@\"" log local0. "$stream_expression_cmd"
Aaron - Arnfinn_Roland_
Nimbostratus
Thanks for the feedback!
I'll sure give it a try to verify it solves the problem!
I was in a rush to get this back up (lot's of banks) so I ended up changing the entire http_response section, like this:
(very similar to my PPv4 section, stipped away a lot of error checks and logic though...)
when HTTP_RESPONSE {
if {1 != $bypass } {
change if bypass is off
STREAM::disable
set layouts _layouts/images/
set wpresources _wpresources/RadEditorSharePoint/
if {[HTTP::header value Content-Type] contains "text" || [HTTP::header value Content-Type] contains "javascript"}{
STREAM::expression "@http://$host_serverside$path_serverside@https://$host_clientside$path_clientside@ \
@/$layouts@$bankid$layouts@ \
@/$wpresources@$bankid$wpresources@ \
@src=\"/@src=\"$bankid@ \
@href=\"/@href=\"$bankid@ \
@nettbank@000007@"
STREAM::enable
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects