Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

CSS Bypassing farm traffic based on matching HTTP header

Hi,

I am trying to find out whether the CSS is able to bypass specific traffic.

I have an existing content to match all HTTP and send to a farm. However, there are some HTTP flows i dont want to goto the farm, i just want CSS to route them onward to the destination. These specific HTTP packets are differentiated by the host field in the header. What config is needed to allow these host annotated packets to bypass the serverfarm?

Thanks

Alan

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: CSS Bypassing farm traffic based on matching HTTP header

Alan,

when you configure a url "//..../" the css will look for the ... inside the hostname header field. Not the url itself.

so my config is correct :-)

G.

4 REPLIES
Cisco Employee

Re: CSS Bypassing farm traffic based on matching HTTP header

Alan,

create a service with the default gateway (or next-hop) ip address.

Make the service 'type transparent'

Duplicate your current content rule that catches the traffic and add the command url "//

I believe this should work.

Gilles.

Community Member

Re: CSS Bypassing farm traffic based on matching HTTP header

Hi Gilles,

Thanks for your response. The only thing you may have misread is that i need to select the host header field, as the URL's may not have host part in them, ie. raw http, not proxied. I guess then i need a header match rule linked to the new content, instead of the URL filter you mentioned.

BR

Alan

Cisco Employee

Re: CSS Bypassing farm traffic based on matching HTTP header

Alan,

when you configure a url "//..../" the css will look for the ... inside the hostname header field. Not the url itself.

so my config is correct :-)

G.

Community Member

Re: CSS Bypassing farm traffic based on matching HTTP header

Gilles,

Thanks for clarifying this mode of operation :)

Cheers

Alan

161
Views
0
Helpful
4
Replies
CreatePlease to create content