Forum Discussion

Masakuni_Watana's avatar
Masakuni_Watana
Icon for Nimbostratus rankNimbostratus
May 22, 2005

Why do I have to select "Performance(HTTP)"?

Dear F5-support,

 

I hope this finds you well.

 

 

I would like to know about the following

 

iRile for BIG-IPv9.

 

 

===================

 

 

when LB_SELECTED {

 

HTTP::header replace host [IP::remote_addr]

 

HTTP::header sanitize "Host"

 

}

 

 

===================

 

 

I can NOT adopt this iRule unless I selected "Performance(HTTP)"

 

as Type and "fasthttp" as Protocol Profile.

 

 

When I select "Standard" as type, I can NOT adopt this iRule due

 

to the attached error...

 

 

Why do I have to select "Performance(HTTP)" ?

 

 

Sincerely yours,

 

Masakuni.

 

  • drteeth_127330's avatar
    drteeth_127330
    Historic F5 Account
    Greetings,

     

     

    First, I must clarify that we are not F5 Support. This is a forum made up of volunteers. Many of us are BIG-IP developers.

     

     

    HTTP::header sanitize is not supported by FastHTTP. Such a rule would result in a run-time error. The rule should work for HTTP. What is the error? I did not see an attachment to your posting. Thanks.
  • unRuleY_95363's avatar
    unRuleY_95363
    Historic F5 Account
    This is a validation problem. The error you are receiving is incorrect. I believe the error itself was corrected in 9.0.5.

     

     

    Dr. Teeth is correct though. You can't actually use this rule with fasthttp (or without http).

     

     

    You will need to add an http profile to your virtual and that is likely what is causing the misinformed error message. Please try configuring your virtual to include an http profile and then retry the rule. If it still does not work then you will need to contact support as we are not equipped to diagnose your system on this forum.