[c-nsp] Content Services Switch (CSS) question

Jan Walzer jan.w at lzer.net
Tue Oct 20 06:45:00 EDT 2009


On Mon, 19 Oct 2009 23:35:46 +0200, Per A <erpa22276 at yahoo.com> wrote:
> I have an application out in the world that is submitting a blank XML  
> document to one of my web services and it is causing the server to throw  
> an exception. The exceptions are happening with enough frequency that  
> the server is getting overwhelmed. I want to prevent these requests from  
> reaching the server and I'm hoping that I can use CSS to identify the  
> requests and send back an error (or send to another server to handle)  
> when the METHOD=POST and Content Length = 0.
>
> Is this possible?

Hi Per A,

It's been a while since I last played with the arrowp^WCSS-Boxes, but it
should be possible.
You need a L5-Rule, to act on that headerfield and redirect it to another
service, which then acts different on what you want as response, maybe
returning a 404.


Greetings, Jan

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the cisco-nsp mailing list