Jaime_Quiroga
Oct 09, 2019Nimbostratus
Solved
IRULE SIDE BAND CONECTION HTTP
Hello
I'm working with an irule that makes a connection with a server to get a file from this, and save the information on a table and a sub table, at this moment I have used the sintax command "[table lookup -subtable $db_cache_table [HTTP::path]]", this is good when the /uri match the table /uri,however I need to find the way to do the same sintax with "star_with" or "containts" the path or uri.
any suggestions please?
Hi Jaime,
Can you try this?
set tableKeys [table keys -subtable $db_cache_table] foreach key $tableKeys { if { $key starts_with [HTTP::path] } { # log local0. "KEY: $key # log local0. "PATH: [HTTP::path]" } }