Log In | Users | Register
Welcome to Foswiki... Users, Groups
Restore | Raw | History | First | Previous | Next | Last | Done

Difference: CustomBlockedMessages (3 vs. 4)

CustomBlockedMessages 4 - 16 Jun 2010 - Main.TimLloyd
Line: 1 to 1
 
META TOPICPARENT name="WebTopicList"
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
  nano filename (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

Revision 4r4 - 16 Jun 2010 - 10:11:55 - TimLloyd
Revision 3r3 - 29 Apr 2010 - 18:48:47 - TimLloyd
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
Syndicate this site RSSATOM