Forum Discussion

N_67263's avatar
N_67263
Icon for Nimbostratus rankNimbostratus
Oct 09, 2014

Need some help trying to apply an iRule

I am trying to apply one iRule on on of the VIP, but it gives me an error as below: 01070394:3: HTTP_REQUEST event in rule (Clickability_iRule) requires an associated HTTP or FASTHTTP profile on the virtual server (ws-uat-phx).

 

Now, I understand that this could probably be because of the "Performance(Layer 4)" Type but I see a document which tells me that iRules work on this type of VIP: http://support.f5.com/kb/en-us/solutions/public/12000/200/sol12272.html

 

Is this because of the HTTP_REQUEST mentioned in the iRule? Can I create the iRule in a different manner?

 

regards, Nikhil

 

2 Replies

  • THi's avatar
    THi
    Icon for Nimbostratus rankNimbostratus

    Assume you have associated an HTTP or FastHTTP profile with the Virtual server? Default setting is none. If not, then you cannot use HTTP_REQUEST event and Layer 7 commands.

     

    On Performance Layer 4 virtual server you might use CLIENT_ACCEPTED event, but depends on what the iRule does. With Performance Layer 4 you cannot use Layer 7 commands in the iRule. If you must, then you might use Performance HTTP virtual server.

     

  • Thanks Thi, this helps me understand what could be the issue.