I thought it would be simple, but i guess i am just too thick.
I need to have a redirect done, only if the URI does not contain a certain URI.
If the URI contains /vss-df, or /vvs-df/appoitnment, etc then there is no redirect. all other URI would redirect to the URL in the irule.
Do not redirect if the URI contains vvs-df
https://website/vvs-df, https://website/vvs-df/appointments, etc
Direct:
https://website/, https://website/
if { ([HTTP::host] contains “<hostname>”) }
if { [HTTP::uri]] ne “/vvs-**”) } {
HTTP::redirect “<redirect URL>”
}
}