Forum Discussion
yves_werniers_1
Nimbostratus
Jun 08, 2010irule 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?
11 Replies
- yves_werniers_1
Nimbostratus
It will probably not change that often, but I would like it to manageable by non admins. I prefer to let them change a list data group than let them edit an irule.
But it is a good point and I will certainly consider it.
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
