Forum Discussion
Steve_Brown_882
Dec 03, 2009Historic F5 Account
Class doesn't create web application
So I ran into this problem once before and I can't seem to figure out how I got around it. Basically I create a new class with ASM enabled but when complete it does not automatically create the policy...
Frank_J_104756
Nov 04, 2009Historic F5 Account
What I got to pass the syntax check and what makes sense to me is
set winner [lindex [lsort -integer { $server1lb $server2lb $server3lb $server4lb }] 1]
i think will use the array I set up w/ and the variable winner to extract the correct value. I'll know tomorrow when we start testing.
Thanks again CB.
- RossVermetteNov 06, 2019
Nimbostratus
You can do a quick irule, some thing like this:
when HTTP_REQUEST { switch [string tolower [HTTP::host]] { "abc.xyz.com" { HTTP:redirect "https://pqr.xyz.com/123" } } }
- Babar_AnsariNov 07, 2019
Nimbostratus
Hi Ross,
Have already tried the same but it did not work
Regards,
Babar Ansari
Use log local0 statements within the iRule to identify if the iRule is being triggered. It will be helpful if you can let us know what is going wrong with the above iRule. May be use curl statements to identify the response for each HTTP Request.