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.2.x, v8.3.x | 13-Dec-2016
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.
*
On v8.3.x appliances, use the following API command:
curl -k -u admin:<password> -X GET https://<c_interface>/wse/customblockpage/file/default/<lang_code>/master.html
*
On v8.2.x V-Series appliances, navigate to the Appliance manager Administration > Toolbox page and select Custom block page.
Select the master.html file and click Download File(s).
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.
<iframe src="$*WS_BLOCKMESSAGE_PAGE*$*WS_SESSIONID*$" title="test" name="ws_block" frameborder="0" scrolling="auto" style="width:100%; height: 14em;">
By default, the scrolling parameter is set to auto, which allows a scroll bar to display when message text exceeds the height of the frame.
You can also change the value of the height parameter to change the frame height.
5.
6.
*
For Filtering Service instances on Windows and Linux servers, use the Status > Deployment page in the Web module of the TRITON 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
*
a.
b.
Navigate to the Administration > Toolbox page.
c.
Click Upload File(s) to save the customized file to the appliance.
d.
Click Apply Changes to restart Filtering Service and start using the custom block pages.
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 2016 Forcepoint LLC. All rights reserved.