In squid.conf enable
But what if you want to remove the whole message.
Generated Thu, 08 Jun 2000 06:58:30 GMT by proxy1.proxy.com (Squid/2.3.STABLE1)
There is no configuration available to remove it but you can always edit the source file for that. Don't worry its very easy. Easy because its really easy.
Just follow the following steps:
- Go to squid source. /usr/src/squid/src
- Backup the existing file errorpage.c cp ./errorpage.c ./errorpage.c.bkp
- Remove errorpage.o rm errorpage.o
- Edit the file errorpage.c vim errorpage.c
"<\HR noshade size=\"1px\">\n"
"Generated %T by %h (%s)\n"
- Remove the line "Generated %T by %h (%s)\n"
- Save and exit :wq
- Reconfigure squid with old options ./configure .........
- Make clean make clean
- Make make
- Make all make all
- Make install make install
- Stop squid /usr/local/squid/sbin/squid -k shutdown
- Start squid /usr/local/squid/sbin
Chip In A Dollar Or Two, Will You?