Activities

June 2010
M T W T F S S
« May   Jul »
 123456
78910111213
14151617181920
21222324252627
282930  

How to hide the Squid infomation from error pages

We need to add the following lines on squid error pages. Error pages are found under ” etc/squid/errors” directory. Just we need to customize the error to be shown and just add the line ” <!– Generated by %s –>” included in it.

[root@rc-009 errors]# pwd
/etc/squid/errors
[root@rc-009 errors]# vi ERR_ACCESS_DENIED
Sample entry is "

ERROR: Blocked file content

You are not authorized to view this content

Please contact helpdesk for more information:

Phone: 0447-745454(ext 26)

Email: admins@test.com

1 comment to How to hide the Squid infomation from error pages

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>