Forum Discussion
LTM 11.4.1 rewrite profile
Previously was using Proxypass, however with firmware version 11.4.1 need to use rewrite profile which have now configured.
The rewrite profile successfully rewrites http://mysite.com/app1/ to a local server however what need help with is dropping the request if no values are included. For example from the site http://mysite.com/app1 a getimage is used with various values is added to the url and provided externally ie quality=xx, height=xx, type=xx what is required is to drop any traffic that does not pattern match all the values: quality=xx, height=xx, type=xx
2 Replies
- Samir_Jha_52506
Noctilucent
I believe you need to user iRule to drop traffic if URI doesn't match
- Michael_Jenkins
Cirrostratus
a simple iRule like this may help. The string match command may help you out.
when HTTP_REQUEST { if { not ([string match "*quality=*height=*type=*" [string tolower [HTTP::uri]]]) { Reject the request reject } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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