Forum Discussion

josh_schmidbaue's avatar
josh_schmidbaue
Icon for Nimbostratus rankNimbostratus
Jan 27, 2016
Solved

irule clarification

I've generated an irule to do URI processing. Even though it appear to work I don't fully understand how it's processing the rule. Here is the rule:   when HTTP_REQUEST { set path [HTTP::path]...
  • mo_99289's avatar
    Jan 27, 2016

    Since i'm doing SSL offloading would this not work?

     

    [answer] Yes, it is work, if your virtual server is configured with correct clients profile.

     

    Or does the irule process after the packets are decrypted?

     

    [answer] Yes, it process after decryption.

     

    set path [HTTP::path] - Simply a variable right? What does the HTTP::path actual take into consideration?

     

    [answer] please check the online API document about this method, it contains good example https://devcentral.f5.com/wiki/iRules.HTTP__path.ashx

     

    return - Unsure what this means? Is it a break?

     

    [answer] in your sample rule code, it is not necessary, return just mean finish execute this irule event.

     

    Meaning if there were multiple rules it would stop processing at this point?

     

    [answer] other irule will still be executed.