Solutions

How do I prevent the ProxySG from caching error pages from an internal web server?

Solutions ID:    KB3776
Version:    1.0
Status:    Published
Published date:    04/20/2010
 

Problem Description

How do I prevent the ProxySG from caching error pages from an internal web server?
I do not want the proxy to cache a 503 error coming from my internal web server.

Resolution

You can install CPL into your local policy file to prevent the ProxySG from caching an HTTP 503 return code from an internal web server.  For information on how to install CPL into your local policy file, please see KB3495.  Here is the CPL to install:

;  **BEGIN**  CPL code to not cache 503 errors returned from host.example.com
<cache>
url.domain=host.example.com http.response.code=503 cache(no)
;  **END**  CPL code to not cache 503 errors returned from host.example.com

If there are other error codes that you want the proxy to not cache, then you can add additional url.domain lines with different error codes.


Rate this Page

Please take a moment to complete this form to help us better serve you.

Did this document help answer your question?
 
 
If you are finished providing feedback, please click the RATE CONTENT button. Otherwise, please add more detail in the following text box and then click RATE CONTENT.
 
 

Your response will be used to improve our document content.

Ask a Question