Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Creating Custom Block Pages : Change the size of the message frame
Change the size of the message frame
Custom Block Pages | Web Protection Solutions | v8.5.x | 29-Apr-2022
Depending on what information you want to provide in the block message, the default width of the block message and height of the top frame may not be appropriate.
To change these size parameters in the master.html file:
1.
*
On Windows and Linux servers, copy master.html from the Websense/BlockPages/<lang_code>/Default directory to Websense/BlockPages/<lang_code>/Custom.
*
curl -k -u admin:<password> -X GET https://<c_interface>/wse/customblockpage/file/default/<lang_code>/master.html
2.
 
Warning 
3.
<div style="border: 1px solid #A6A6A6;width: 95%; max-width: 700px; ...>
Change the value of the width and max-width parameters as required.
4.
5.
*
For Filtering Service instances on Windows and Linux servers, use the Status > Deployment page in the Web module of the Forcepoint Security Manager to restart Filtering Service.
*
curl -k -u admin:<password> -X PUT -F "file=@./master.html" https://<c_interface>/wse/customblockpage/file/en
curl -k -u admin:<password> -X PUT https://<c_interface>/wse/admin/filter/stop
curl -k -u admin:<password> -X PUT https://<c_interface>/wse/admin/filter/start
Block page changes do not go into effect until Filtering Service has restarted.

Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Creating Custom Block Pages : Change the size of the message frame
Copyright 2022 Forcepoint. All rights reserved.