Good morning George, thanks for the reply. I have attempted your solution but it doesn't seem to work. I created a datagroup "blue" with the strings as
"/Dealer/"
"/Help/"
"/Image/"
"/Login/"
"/User/"
I am new to this but is a value required when adding these strings to the group?
The iRule I used is this
when HTTP_REQUEST {
if { ![class match [HTTPS::path] starts_with $::blue] } {
HTTP::redirect http://www.google.com/
}
}
When I go to https://mycompany.com/test it should direct to google.com but just gives a page cannot be found page from the webserver.
Also this is a 443 request as we have a redirect iRule for the 80 traffic to be routed to 443.
Thanks for the help and I look forward to a response