Remove Squid Footer

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.

http://techspalace.blogspot.com/2008/01/remove-squid-footer.html
MainStaySolutionsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

owensleftfootCommented:
You will have installed squid from a deb package. To follow the instructions on that link you have to recompile the source of squid
0
MainStaySolutionsAuthor Commented:
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
0
antoniogcCommented:
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">
    <ADDRESS>
    Generated %T by %h (%s)
    </ADDRESS>
    </BODY></HTML>

so, if you put in the template file someting like

<!-- (%s) -->
</BODY></HTML>

the signature will be "suprise".

Check the FAQ for a detail explain.

http://www.comfsm.fm/computing/squid/FAQ-19.html#custom-err-msgs

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

--
 PP
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MainStaySolutionsAuthor Commented:
I worked.  A very detailed answer.  Thank you for the help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.