tag:blogger.com,1999:blog-1241233588755403188.post1544094222897344173..comments2024-03-22T14:13:54.465-04:00Comments on Techs Palace: Remove Squid footer completelyRoshan Karkihttp://www.blogger.com/profile/18409357804471363219noreply@blogger.comBlogger20125tag:blogger.com,1999:blog-1241233588755403188.post-65527054384058163242012-01-23T07:58:01.650-05:002012-01-23T07:58:01.650-05:00or simply add this css code on your error page bet...or simply add this css code on your error page between the STYLE directives:<br /><br />...<br /><br />address {<br /> display: none;<br />}<br />hr {<br /> display: none;<br />}<br /><br />...the_observerhttps://www.blogger.com/profile/12197813561724854951noreply@blogger.comtag:blogger.com,1999:blog-1241233588755403188.post-91567215514710046692012-01-23T00:26:27.072-05:002012-01-23T00:26:27.072-05:00Clever use of CSS I must say :)Clever use of CSS I must say :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1241233588755403188.post-72667415084678342252012-01-22T20:08:00.637-05:002012-01-22T20:08:00.637-05:00Correction - got a little overzealous with the sub...Correction - got a little overzealous with the substitutions... this will work! :-) 1 and 2 map to < and > respectively<br /><br />echo '1TITLE21/TITLE21STYLE type="text/css"21!--hr{opacity:0;filter:alpha(opacity=0);}address{opacity:0;filter:alpha(opacity=0);}1/STYLE21/HEAD21BODY2' | tr '12' '<>'sory2noreply@blogger.comtag:blogger.com,1999:blog-1241233588755403188.post-76408594343362342512012-01-22T19:58:28.650-05:002012-01-22T19:58:28.650-05:00If you want to remove it yet, compiling is the eas...If you want to remove it yet, compiling is the easiest way... But if you just want to make it disappear you can do that much easier, all you need is the following text in a custom error page (it will make the hr and the footer text transparent). *argh it doesn't want to accept the code so execute this script to get the code :-(<br /><br />echo '1TITLE21/TITLE21STYLE type=5text/css521344hr{opacity807filter8alpha$opacity60%7}address{opacity807filter8alpha$opacity60%7}1/STYLE21/HEAD21BODY2' | tr '12345678$%' '<>!-"=;:()'sroy2noreply@blogger.comtag:blogger.com,1999:blog-1241233588755403188.post-17943550570026272472011-04-24T13:19:25.567-04:002011-04-24T13:19:25.567-04:00Hi anonymous, you must compile Squid if you want t...Hi anonymous, you must compile Squid if you want to completely remove the footer.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1241233588755403188.post-49474265236704884252011-04-24T13:13:52.551-04:002011-04-24T13:13:52.551-04:00So what have i done wrong?
this -> <-- Gener...So what have i done wrong?<br />this -> <-- Generated %T by %h (%s) --><br />produces 2 of the footers.<br /><br />this -> < !-- Generated %T by %h (%s)-- ><br />does the same thing.<br /><br />i found 'httpd_suppress_version_string off' in the config file,<br /><br />it change nothing.<br /><br /><br />someone above say theres a version string at the end of the error files, but i dont see it.<br /><br /><br />i dont really want to re-complie squid, it was yum installed.. <br /><br />when i search google for 'remove squid footer' i get redirected ONLY to this webpage, f... google has gone s.i*.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1241233588755403188.post-79037679174417831522011-02-20T16:23:28.206-05:002011-02-20T16:23:28.206-05:00is a simpler method: edit a binary file generated ...is a simpler method: edit a binary file generated from the conversion of a string ... a corresponding removal of this value ie the amount of space - I recommend "mcedit squid;)<br /><br />... and for that you delete the contents of files / usr / share / squid / errors / En / *<br />There is an error in the case of large squid die - we make a copyAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1241233588755403188.post-66313917266847760972010-10-14T05:26:10.288-04:002010-10-14T05:26:10.288-04:00I'm running squid on Debian Lenny,
usually I e...I'm running squid on Debian Lenny,<br />usually I edit ERR_ACCESS_DENIED file with nano,<br />nano /usr/share/squid/errors/English/ERR_ACCESS_DENIED<br />at the end of the file there's a line:<br />Generated %T by %h (%s)<br />changes to:<br /><-- Generated %T by %h (%s) -->Maman Sulaemanhttps://www.blogger.com/profile/00447299319848167547noreply@blogger.comtag:blogger.com,1999:blog-1241233588755403188.post-5934772856248227322010-10-12T12:18:39.720-04:002010-10-12T12:18:39.720-04:00Hi, I'm just elaborating the point "momon...Hi, I'm just elaborating the point "momonsolommon" said.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1241233588755403188.post-56719519762272938302010-10-12T08:19:54.225-04:002010-10-12T08:19:54.225-04:00Still not OK...
Can you confirm you don't have...Still not OK...<br />Can you confirm you don't have anything in your source page ? I am using Squid2.7 stable7.<br />Where do you add the < !-- Generated %T by %h (%s)-- > in the file ? After the < /body >? <br /><br />Maybe you can send me the ERR_ACCESS_DENIED file you are using for exemple in order to test it ? (arno_2003 at yahoo dot fr) <br />ThxAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1241233588755403188.post-37659029092798742882010-10-12T06:09:01.667-04:002010-10-12T06:09:01.667-04:00try using " & l t ; " and " &am...try using " & l t ; " and " & g t ; " without the space and quotes for < and > sign.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1241233588755403188.post-65131358441900204732010-10-12T06:04:02.236-04:002010-10-12T06:04:02.236-04:00It's only a solution to put the entry in comme...It's only a solution to put the entry in comment and not show it in the web page.<br />But this entry is still available in the page source code. I obtain this :<br />!--Generated Tue, 12 Oct 2010 10:04:07 GMT by Server (squid)--<br /><br />So every body knows you are using Squid !<br />I am looking for a full solution whithout modifying the Squid sources and a new compilation...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1241233588755403188.post-15259185115311644472010-10-11T21:26:28.430-04:002010-10-11T21:26:28.430-04:00Hi Anonymous, he means to do,
<!-- Generated %...Hi Anonymous, he means to do,<br /><br /><!-- Generated %T by %h (%s)--><br /><br />Noticed the <!-- and --> ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1241233588755403188.post-81126347302561951442010-10-11T11:35:06.200-04:002010-10-11T11:35:06.200-04:00May you explain a little bit more what to add plea...May you explain a little bit more what to add please ?<br />Right now, the squid error footer doesn't appear in the page, but it is visible as a comment in the page source code.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1241233588755403188.post-76310798297909009452010-10-07T07:17:49.750-04:002010-10-07T07:17:49.750-04:00THERE IS A WAY without messed up with the source c...THERE IS A WAY without messed up with the source code,especially for you that install squid with aptitude or synaptic things.<br /><br />Just add (without qoute) in the end of the line of ERR_ACCESS_DENIED this applied to other error message.<br /><br />thanks for momonsolommon very inspiringAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1241233588755403188.post-14783978314324471032010-10-07T07:14:24.966-04:002010-10-07T07:14:24.966-04:00THERE IS A WAY without messed up with the source c...THERE IS A WAY without messed up with the source code,especially for you that install squid with aptitude or synaptic things.<br /><br />Just add in the end of the line of ERR_ACCESS_DENIED this applied to other error message.<br /><br />thanks for momonsolommon very inspiringAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1241233588755403188.post-70228876347205792432009-11-09T05:55:16.986-05:002009-11-09T05:55:16.986-05:00*lol*
And no one will look at the source of the pa...*lol*<br />And no one will look at the source of the page?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1241233588755403188.post-8478942660255826652008-07-22T02:42:00.000-04:002008-07-22T02:42:00.000-04:00You are commenting the line. So the result will be...You are commenting the line. So the result will be the same.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1241233588755403188.post-78133272082940605422008-07-22T01:32:00.000-04:002008-07-22T01:32:00.000-04:00I usually remove squid error footer by adding &...I usually remove squid error footer by adding &gt!-- Generated %T by %h (%s)--&lt <BR/>to the end of line from ERR_ACCESS_DENIED fileAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1241233588755403188.post-81169483072821605212008-06-26T11:36:00.000-04:002008-06-26T11:36:00.000-04:00coooooool thanks lotscoooooool <BR/><BR/><BR/>thanks lotschetuhttps://www.blogger.com/profile/05916720433775249402noreply@blogger.com