OPNsense Forum

English Forums => General Discussion => Topic started by: minime on May 30, 2016, 01:50:36 pm

Title: [SOLVED] Squid - Replace message by a single pixel
Post by: minime on May 30, 2016, 01:50:36 pm
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?
Title: Re: Squid - Replace message by a single pixel
Post by: sidney_v on August 30, 2016, 02:31:38 pm
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 ?!
Title: Re: Squid - Replace message by a single pixel
Post by: sidney_v on August 30, 2016, 04:35:46 pm
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)