[SOLVED] Squid - Replace message by a single pixel

Started by minime, May 30, 2016, 01:50:36 PM

Previous topic - Next topic
May 30, 2016, 01:50:36 PM Last Edit: September 01, 2016, 10:20:43 AM by franco
Hi,

I have tried to replace the current error message with a single pixel (I also tried with different images), without any luck.

While I am able to change the text message and also the look of the page by editing:

/usr/local/etc/squid/errors/en/ERR_ACCESS_DENIED
/usr/local/etc/squid/errorpage.css
/usr/local/etc/squid/icons

I wasn't able to replace the default icon "SN.png" found in the CSS with something else, nor replacing the message altogether with a single transparent pixel.

What am I missing?

Hi,

With OPNsense 16.7.2-amd64 running Squid 3.5.20 I get the same result :
I replaced /usr/local.etc/squid/icons/SN.png but new png didn't show up...

Any idea ?!

Well, just in case someone is wondering how to do it,
you just have to restart Squid to get your new png file displayed.

(CTRL+F5 to reload web page without cache isn't enough)