Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Clear all filters
Answers

iRule to redirect illegal requests to home page

Hi

I need an iRule to redirect the illegal URLs requests ( not included in the ASM Allowed URLs list) to my home page instead of the reject page with the support ID.

consider my home page is : homepage.com

Thank you

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

I assume your ASM policy includes not only URL-checking, but also other violation checks. But if just illegal URL-requests should be redirected, I would try to create a dedicated policy for this and configure "Redirect URL" as "Response Type" under "Security ›› Application Security : Blocking : Response Pages". Details are depending on your overall policy-design and -requirements, but it should point you in the right direction.

Ciao Stefan :)

0
Comments on this Answer
Comment made 14-Oct-2016 by james lee 268

You might want to check http response code 403, 5xx, if irule detect those http response code, then redirect traffic to your home page.

0