08-29-2002 10:44 AM
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
08-29-2002 10:58 AM
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
08-29-2002 02:48 PM
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
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: