Multiple Block Pages?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Multiple Block Pages?

Not applicable

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

1 accepted solution

Accepted Solutions

L5 Sessionator

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;

}

View solution in original post

3 REPLIES 3

L4 Transporter

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

L5 Sessionator

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;

}

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

  • 1 accepted solution
  • 6175 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!