Terminating a connection instead of returning an exception page

book

Article ID: 166951

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

Terminating a connection instead of returning an exception page
You want to know how to terminate a connection instead of returning an exception page

Resolution

In some situations it may be desirable to simply terminate a connection instead of returning a user-friendly error page back to a client. To accomplish this you can use policy similar to the following. This policy terminates the connection for all instances where the Policy Denied exception would have been returned.


exception.id=policy_denied terminate_connection(yes)