Forum Discussion
Mayur_Sutare
Feb 18, 2022MVP
Hi ravi_atc , you can try below irule syntax.
When HTTP_REQUEST { if { ([HTTP::host] eq "www.example.com") and (([string tolower [HTTP::uri]] eq "/admin")) } { reject } }
You can also achieve it using LTM policy.
Hope it helps!
- ravi_atcFeb 18, 2022Nimbostratus
Hi Mayur,
Thank you for the help, since we are in a production environment, i will recommend the given code to the team, will let you know once it gets implemented.