Forum Discussion

tacobell_112236's avatar
Icon for Nimbostratus rankNimbostratus
Mar 04, 2011

IRule Disaster

I'm running F5 LTM ver 9....and when I add IRule to VS I get "internet cannot display page" BUT Once I remove IRule I get the website....



i need to alllow only my datagroup access to the url if you are not on the group - you are supppose to get redirected but so far , on my logs all i gte is the IP address of internal connetcion not anything else.






{ log local0. "client IP is [IP::client_addr]"


if { ![matchclass [IP::client_addr] equals address_datagroup] } {


if { [[string tolower [HTTP::host]] equals ""] and [matchclass [string tolower [HTTP::uri]] starts_with $::xxxxxxxxxxcom_uri_datagroup] } { HTTP::redirect ""







11 Replies