Forum Discussion
skfads_167852
Nimbostratus
Aug 19, 2015Need help with understanding this iRule
I have very limited or no knowledge about iRule. It would be of great help if anyone can be able to break down this iRule below.
when RULE_INIT
{
set static::New_netsector_response_body
{
""
...
skfads_167852
Nimbostratus
Aug 20, 2015Thanks Michael...
The explanation helps a lot.
The problem with my irule is that we have set the in out webpage to "font-size:80px" and this irule is rewiring ":80" to "" which results in deformed webpage.
- Michael_JenkinsAug 20, 2015
Cirrostratus
I think you could do something like this then as your expression "@:80(?!px)@@" for the port. Since the expression allows regex, you can use that to handle the lookahead to make sure the :80 isn't followed by "px" - Michael_JenkinsAug 20, 2015
Cirrostratus
There's a few more examples here: https://clouddocs.f5.com/api/irules/STREAM__expression.html that may help guide a little bit.
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
