Forum Discussion
Nicolas_MENOUX_
Nimbostratus
Apr 29, 2009STREAM_MATCHED for regexp replace ?
Hi,
I'm using an IRule to replace Http content coming from our web servers in order to change image relative path to absolute path as described below :
when HTTP_REQUEST ...
Nicolas_MENOUX_
Nimbostratus
Apr 30, 2009mmm... I'm sorry I think and I'm sure I was not clear in my previous post :-) Thank you for your answer aaron, but if I want to re-use this $host variable into the stream replacement ? As you said, I could not use the $host within braces in the stream::expression, so could I do the replacement within the stream_matched event to replace the '/images/blablabla by 'http://media.$host.com/images/blablabla ? Do you have a sample to do that ? Stream::replace ? Thanks
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
