Forum Discussion
Priyantha_34591
Jan 11, 2019Nimbostratus
re-write based on header evaluation (no redirect)
we need to do an i rule that evaluates the following requester uri = A Re-write uri =B
when request is made to A and meets below criteria $HOST contains "xxx.xxxx.net" and (($URI contains "default.aspx?id=d") or ($URI contains "d.aspx?id=d" the request needs to be re-written to B
- PeteWhiteEmployee
when HTTP_REQUEST { if { [HTTP::uri] == "uritocheck" && [HTTP::host] contains "xxx.xxxx.net" } { HTTP::uri /newuri } }
You could also do a redirect with HTTP::redirect
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