OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • [SOLVED] Squid - Replace message by a single pixel
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Squid - Replace message by a single pixel  (Read 4043 times)

minime

  • Newbie
  • *
  • Posts: 32
  • Karma: 6
    • View Profile
[SOLVED] Squid - Replace message by a single pixel
« 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?
« Last Edit: September 01, 2016, 10:20:43 am by franco »
Logged

sidney_v

  • Newbie
  • *
  • Posts: 16
  • Karma: 2
    • View Profile
Re: Squid - Replace message by a single pixel
« Reply #1 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 ?!
Logged

sidney_v

  • Newbie
  • *
  • Posts: 16
  • Karma: 2
    • View Profile
Re: Squid - Replace message by a single pixel
« Reply #2 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)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • [SOLVED] Squid - Replace message by a single pixel
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2