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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

CSS Filter

Does anyone know how filter function works on CSS ? Can I use the fitler to redirect or prevent the request not to hit my website base on url ?

Thanks in advance

2 REPLIES
Bronze

Re: CSS Filter

The best way to filter based on URL is to create layer 5 content rules that indicate the url that you want to hit the content rule.

For example:

You have a layer 3 rule for all content

content test

vip address 1.1.1.1

add service server1

active

now you add a layer 5 rule for a particular url

content test_l5

vip address 1.1.1.1

add service server2 <-- maybe you want the request to go to a different server

port 80

protocol tcp

url "/specific/content/pete.html"

active

So all requests except ones for specific/content/pete.html will go to server1, while this one will hit the l5 rule and go to server2. You can also use the "redirect" command in this L5 rule and send a redirect back to the client.

Other then that, I'm not sure what other filtering you are talking about

Regards

Pete Knoops

Cisco Systems

New Member

Re: CSS Filter

Thanks, this info really helps. I also found the example on "How to filter the Nimda Virus on CSS1100", http://www.cisco.com/warp/public/117/nimda_css11000.html

There is a note in Creating Service dummy, Do you know how long does it take to time out ? and timeout could be changed or not ?

Thx

132
Views
0
Helpful
2
Replies