[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Remove Squid Footer

Posted on 2008-11-17
Medium Priority
Last Modified: 2013-12-06
I have been working with Squid 2.6 on a Debian system for a couple months now.  Of course everyone knows the signature footer at the bottom of the error page, and like most people I would like to customize that if not remove it.  Here is where I run into issues; most help sites just say to edit the errorpage.c file...no big deal.  I don't have that anywhere on my system that I can see.  Please assist.

Question by:MainStaySolutions
  • 2
LVL 17

Expert Comment

ID: 22977381
You will have installed squid from a deb package. To follow the instructions on that link you have to recompile the source of squid

Author Comment

ID: 22977598
I installed by using "apt-get install squid" and my apt sources are listed below.  Wouldn't that at least include an errorpage.c?

deb http://ftp.debian.org/debian/ etch main
deb-src http://ftp.debian.org/debian/ etch main
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
deb http://ftp.de.debian.org/debian etch main

Accepted Solution

antoniogc earned 2000 total points
ID: 23008002
Edit the template file and append at the bottom your new signature and include the tag %S (squid default signature) or %s (caching proxy software with version). Default signature is

    <BR clear="all">
    <HR noshade size="1px">
    Generated %T by %h (%s)

so, if you put in the template file someting like

<!-- (%s) -->

the signature will be "suprise".

Check the FAQ for a detail explain.


BTW, en debian the templates are in /usr/share/squid/errors/<language>/


Author Closing Comment

ID: 31517498
I worked.  A very detailed answer.  Thank you for the help.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question