yves_werniers_1
Jun 08, 2010Nimbostratus
irule stream::exporession and data group list
Hello,
I would like to rewrite responses from webservers to add a part to the url (in certain cases). Is it possible to use the stream::expression with data group lists? Like that, I could make a list for the source, and one for the target. The content of those lists would include things like
href="/asia/
so with only one double quote
If I just use a stream profile with those entries, it works. But the traget field would probably become too long if I had to put all strings in there.
I have tried something like
when HTTP_RESPONSE {
set stream_expression "@$::test_in@$::test_out@"
STREAM::expression $stream_expression
STREAM::enable
}
where test_in and test_out are data group lists
that does not work
any suggestions?