Solutions

How to display the exact category for the URL being blocked in the policy

Solutions ID:    KB3901
Version:    2.0
Status:    Published
Published date:    07/19/2010
Updated:    10/14/2010
 

Problem Description

By default the exception page only displays one / all categories the URL belongs to on the exception page if using the code as per below  :

$(category) - ONE category

$(cs-categories) - All the categories the URL belongs to

For example:

http://mashable.com/2009/07/11/funny-viral-videos/ is categorized as Humor/Jokes and Audio/Video Clips.

When there is a rule in Visual Policy Manager that block the Audio/Video Clips, user access to site http://mashable.com/2009/07/11/funny-viral-videos/, the exception page display will be as follow:

If $(category) is used in exception page, the category displayed will be Humor/Jokes only.

If $(cs-categories) is used in exception page, the categories displayed will be Humor/Jokes and Audio/Video Clips.

Resolution

To display the exact category that that being used in the policy, change the above code in the exception page to the following:

$(x-exception-category)

For example above,

If $(x-exception-category) is used in exception page, the categories displayed will be  Audio/Video Clips which is the blacklisted category in policy.


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