Forum Discussion
5 Replies
Sort By
- natheCirrocumulusmuzammil,
when HTTP_REQUEST { switch [string tolower [HTTP::uri]] { "/cc_page" - "/" { drop } } }
when HTTP_REQUEST { switch [string tolower [HTTP::uri]] { "/cc_page" - "/" { HTTP::redirect "http://[HTTP::host]/test_page" } } }
- natheCirrocumulusmuzammil,
- muzammil_88686NimbostratusDear Nathan,
- natheCirrocumulusHow about something with there following:
- natheCirrocumulusYou could always use a data group too and do a class match on the contents of this in an irule. This would be useful if you wanted to add further allowed URIs.
when HTTP_REQUEST { if { [class match [HTTP::uri] ne "allowed_uris"] } { drop } }