40
TRITON - Web Security Help
89
Block Pages
5. Some block page HTML files use hard-coded paths to reference the support files
used to construct the page. If you have modified the stylesheet used to format the
block pages (blockStyle.css) or the JavaScript file used to construct security block
pages (security.js), make sure that you also update the path to those files in your
custom HTML files. For example:
<link rel="stylesheet" href="/en/Custom/blockStyle.css
type="text>
6. Save the file.
7. Restart Filtering Service (see Stopping and starting Websense services, page 314,
for instructions).
Changing the size of the message frame
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. Copy master.html from the Websense\BlockPages\en\Default directory to
Websense\BlockPages\en\Custom.
2. Open the file in a text editor, such as Notepad or vi (not an HTML editor).
3. To change the width of the message frame, edit the following line:
<div style="border: 1px solid #285EA6;width: 600px...">
Change the value of the width parameter as required.
4. To cause the top frame of the message to scroll, in order to show additional
information, edit the following line:
<iframe src="$*WS_BLOCKMESSAGE_PAGE*$*WS_SESSIONID*$" ...
scrolling="no" style="width:100%; height: 6em;">
Change the value of the scrolling parameter to auto to display a scroll bar 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. Save and close the file.
6. Restart Filtering Service to implement the change (see Stopping and starting
Websense services, page 314).
Changing the logo that displays on the block page
The master.html file also includes the HTML code used to display to a Websense
logo on the block page. To display your organization’s logo instead:
1. Copy the block page files from the Websense\BlockPages\en\Default directory
to Websense\BlockPages\en\Custom, if they have not already been copied.
2. Copy an image file containing your organization’s logo to the same location.