It is possible to customise the CensorNet Access Denied messages and other system messages that are produced by the proxy server.
Line: 22 to 22
nanofilename (replacing filename with one of the names listed above)
Changed:
< <
This will start a basic text editor. You can use the cursor keys to move to the line you wish to edit and make appropriate changes. To save the changes hold down Ctrl and press W followed by Enter. Then Ctrl and X to exit the editor.
> >
This will start a basic text editor. You can use the cursor keys to move to the line you wish to edit and make appropriate changes. To save the changes hold down Ctrl and press X followed by Y and then Enter. Then Ctrl and X to exit the editor.
WARNING: Do not change the placeholder tags which are surrounded by $ signs!
If you would like to use your own logo, you can use WinSCP to transfer the image to the CensorNet server. It is recommended that the images are placed in /var/www/censornet/images.
Added:
> >
IMPORTANT - LOCK YOUR FILES: After you have made changes to the template files, it is recommended that you lock the files so that they are not overwritten by future upgrades. To do this, type:
Added:
> >
chattr +i /usr/share/cnv4/templates/<filename>
Replacing filename with en_error.html, etc.
-- TimLloyd - 28 Jan 2009
\ No newline at end of file