Forum Discussion
1 Reply
Sort By
- 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
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
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