Create a custom exception page that repopulates URL for category review at the WebPulse Site Review website
search cancel

Create a custom exception page that repopulates URL for category review at the WebPulse Site Review website

book

Article ID: 165628

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

Edge SWG (ProxySG) with custom exceptions and categories provided by BCIS/Webpulse. You can include the site review link (http://sitereview.bluecoat.com/) in every exception. Alternatively,  you can display the site review link with the category pre-populated to specific custom exceptions.

 

 

Resolution

If  users encounter an incorrectly categorized site, they can go to http://sitereview.bluecoat.com/ to request that it be reviewed. To eliminate a few steps for users, you can add a custom exception that automatically refers them to the site review URL.

  1.  Build a user defined exception that points to "http://sitereview.bluecoat.com/sitereview.jsp?referrer=136&url=http://$(url.host)"
  2.  Insert your exception code before the closing parenthesis under the exception.user-defined.all.
  3. Create a policy with categories to block in the "Destination" and "Return Exception" is the "Action". 
  4. Select your user-defined exception for the "Return Exception" field.

The following is an example of a working user-defined exception which includes the category, the Edge SWG (ProxySG) issuing the error (useful for locating a single device when load balancing multiple proxies), and a pre-populated link for site review:

(exception.Denied_with_site_review
      (http
        (code "403")
        (format <<--21cbf697.e93b6--
<HTML><HEAD>
<TITLE>Confirm Access
</TITLE>
</HEAD>
<BODY><p>
<FONT face="Helvetica">
<big><strong>Access to this content has been denied by your company policy due to it's category $(quot)$(cs-categories)$(quot).</strong></big><BR>
</P>
If you believe this is in error you can request a site review by clicking <a href="http://sitereview.bluecoat.com/sitereview.jsp?referrer=136&url=http://$(url.host)" >here</a>.
<br>

<small><br>Reported by $(proxy.name)($(proxy.address))</small></FONT>

</BODY></HTML>

--21cbf697.e93b6--

        )
      )
    )

Place your user-defined exception near the top of the exceptions list, there is a section that looks like the following:

(exception.user-defined.all
    (contact)
    (details)
    (format)
    (help)
    (summary)
    (http
      (code "403")
      (contact)
      (details)
      (format)
      (help)
      (summary)
    )
<-- insert your user-defined exception here -->
)