Multiple Block Pages?

Reply
Highlighted
Not applicable

Multiple Block Pages?

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

L4 Transporter

Re: Multiple Block Pages?

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

Re: Multiple Block Pages?

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;

}

L1 Bithead

Re: Multiple Block Pages?

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

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 Live Community as a whole!

The Live Community thanks you for your participation!