Remove Squid Footer

Posted on 2008-11-17
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 big deal.  I don't have that anywhere on my system that I can see.  Please assist.
Question by:MainStaySolutions
    LVL 17

    Expert Comment

    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

    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 etch main
    deb-src etch main
    deb etch/updates main contrib
    deb-src etch/updates main contrib
    deb etch main
    LVL 2

    Accepted Solution

    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

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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Users are often faced with high disk consumption without really knowing where the largest amount of data resides. Disk Usage Analyzer (aka Baobab) is is a graphical, menu-driven application to analyse disk usage in any Gnome environment and can e…
    The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. Once you open the link you will see …
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    759 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

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now