Forum Discussion
10 Replies
Sort By
- Samir_Jha_52506Noctilucent
Hope its URL. Check it out
when HTTP_REQUEST { if { (string tolower [HTTP::host] equals "www.xyz.com") or (string tolower [HTTP::host] equals "www.pqr.com") } { pool pool_common_ABC } }
- mike03_367540Nimbostratus
Thanks for quick response can we add else command and rest of traffic should be
- Samir_Jha_52506Noctilucent
Yes. we can use.
when HTTP_REQUEST { if { ([string tolower [HTTP::host]] equals "www.xyz.com") or ([string tolower [HTTP::host]] equals "www.pqr.com") } { pool pool_common_ABC } else { reject } }
- mike03_367540Nimbostratuserror: [invalid index: should be integer or "end"][equals]