Forum Discussion

mikey_webb's avatar
Jan 07, 2015

Help with pattern match irule required

Need help with an irule to drop the request if pattern is not matched. The link and pattern is always as below whereby only the values will change....such as vid, height, quality values etc

 

http://myserver.com/getimage.aspx?vid=84687usehttp=0&cat=default&class=books&size=custom&resize=1&dpi=300&quality=90&type=jpg&width=&height=&id=470746

 

http://myserver.com/getimage.aspx?vid=8461&usehttp=0&cat=default&class=books&size=custom&resize=1&dpi=300&quality=100&type=jpg&width=&height=&id=470784

 

12 Replies

  • Internal IP logs correctly and works External IP and pattern match logs correctly and works External IP and non-pattern match logs correctly but does not return the bad request page

     

  • Return a blank page but works better and displays if I add content " 400 Bad request " I never had this issue prior to adding ip match as it use to return a 400 bad request in the tab