sberhorst_30626
Jan 13, 2017Nimbostratus
URL Redirect help needed in iRule with path forwarding
Hi,
I'm trying to do a redirect from a DNS name to a web URL. As an example I want to type in home.example.com to redirect to https://apps.google.com/user/hub using the F5 iRules.
I've tried the following but get a syntax error:
when HTTP_REQUEST { if {[HTTP::host] eq “home.example.com”}{
Send 302 redirect to the new location
HTTP::redirect https://apps.google.com/user/hub } }