Forum Discussion

chris_connell_1's avatar
chris_connell_1
Icon for Nimbostratus rankNimbostratus
Jan 26, 2009

virtual server config question

Hello,

 

We are using an irule to forward traffic on certain destination url. Like the following:

 

 

when HTTP_REQUEST {

 

if { [HTTP::uri] equals "/foo" } {

 

HTTP::uri "/bar"

 

}

 

}

 

 

However when we apply the irule to our virutal server it complains with the following error:

 

 

HTTP_REQUEST event in rule (url_bypass) requires an associated HTTP or FASTHTTP profile on the virtual server

 

 

Can someone explain why we need a special http/fast http profile on our virtual server? Currently we are just doing l4 load balancing using performance l4 virtual server.

 

 

Also when we changed it to use the http/fast http profile, it complained we cant use persistence.

 

 

Thanks for any answers.

 

1 Reply

  • An http profile is required to access the HTTP methods in an iRule, fasthttp is not compatible with persistence, but http should work fine. Here's a solution that weighs the pros/cons of profile selection:

     

     

    https://support.f5.com/kb/en-us/solutions/public/4000/700/sol4707.html Click here