Sorry for the delay...basically i need to redirect certain externally accessible sites to internal network only. And if you are not part of the IP adress redirect you to home page. This needs to be done at F5 level... So question is how do I add multiple sites to check???
basic URL site check:
when HTTP_REQUEST { if { ([HTTP::uri] starts_with "/adstructure") and ([matchclass [IP::remote_addr] equals $$IPAddressDataGroup]) } { HTTP::redirect "https://www.xxx.com/adstructure/xxx/login.jsp/index/index/" } else { HTTP::redirect "https://www.xxx.com/" } }
my attempt to do multiple site lookups: ( yeah its wrong - i know)
when HTTP_REQUEST { if { ([HTTP::uri] starts_with "/adstructure" or starts_with "/ CiteCode or /jsp/funsite ) and ([matchclass [IP::remote_addr] equals $$IPAddressDataGroup]) } { HTTP::redirect "https://www.xxx.com/adstructure/xxx/login.jsp/index/index/" } else { HTTP::redirect "https://www.xxx.com/" } }