cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
191
Views
0
Helpful
2
Replies
Highlighted
Beginner

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 2
Participant

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

Highlighted
Beginner

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

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here