- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
07-20-2011 12:33 PM
Hello,
Is it possible to create/select/use a custom response/block pages for specific URL categories? For example: can I have one specific custom response page for "unknown" categories, and another block page for "malware" categories?
Thanks,
-Paul
07-23-2011 12:00 PM
Paul,
As Manish stated above, you may only configure one block page per VSYS. That said, however, you can customize the block page to display different text depending on the category.
You can refer to this document for more information regarding customizing block pages: Customizing Block Pages
Some example code for customizing messages per category:
var cat = "<category/>";
switch(cat)
{
case 'games':
document.getElementById("warningText").innerHTML = "Message 1";
break;
case 'travel':
document.getElementById("warningText").innerHTML = "Message 2";
break;
case 'kids':
document.getElementById("warningText").innerHTML = "Message 3";
break;
}
07-22-2011 08:00 AM
Paul,
As far as I know you can set only 1 block page. If you need this functionality then I would suggest to please contact your system engineer and request for this feature.
Thanks
07-23-2011 12:00 PM
Paul,
As Manish stated above, you may only configure one block page per VSYS. That said, however, you can customize the block page to display different text depending on the category.
You can refer to this document for more information regarding customizing block pages: Customizing Block Pages
Some example code for customizing messages per category:
var cat = "<category/>";
switch(cat)
{
case 'games':
document.getElementById("warningText").innerHTML = "Message 1";
break;
case 'travel':
document.getElementById("warningText").innerHTML = "Message 2";
break;
case 'kids':
document.getElementById("warningText").innerHTML = "Message 3";
break;
}
07-04-2012 06:38 AM
Hi to all,
dyang, do you know how to customize messages per "domain"? The html variable <user/> contains the IP address or the username like this "domain\username". But the backslash is an escape character. So impossible to use the split function in javascript to have on one side the domain and on the other side the username.
Who can help me?
Thx, Eric
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!