cancel
Showing results for 
Search instead for 
Did you mean: 

iRule with regex to allow illegal URL entry on ASM as string will change everytime.

Abu_Bakar_Afzal
Altostratus
Altostratus

How to write an iRule for ASM to allow a URL having a string which is everytime different. Like example.com/233.a7e26a504b20a18a6675.js  a7e26a504b20a18a6675 will be changed everytime. Below is the rule where I write an expression to allow but i am not sure about it will pass or still prompt illegal URL. I cannot test in production environment.

when HTTP_REQUEST {
if { [HTTP::path] matches_regex {233\.\w{20}\.js} } then { pool HTTP_Pool}
}

 

0 REPLIES 0