Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm currently migrating a tiny Zentyal firewall from 2.2 to 3.0. Almost complete, but I can't figure out how to update the Squid 3 error page with some additional paragraphs.

So far I've figured out that I get an ERR_ACCESS_DENIED page.

Changing the /usr/share/squid3/errors/LANGUAGE/ERR_ACCESS_DENIED works but changing the template /usr/share/squid3/errors/templates/ERR_ACCESS_DENIED does not help. As squid has a lot of language subfolders I do not want to change them one by one... Is there a way to generate them?

(Most tutorials just change the English language text. But non-English browsers are getting a localized page so this is not an acceptable solution for me.)

On Zentyal 2.2 editing /usr/share/zentyal/stubs/squid/template.html.mas worked fine.

share|improve this question

I found this thread trying to solve the exact same problem. What I ended up doing was providing templates for english and norwegian (the country this was used in) - all other languages was removed. I did this with the error_directory directive.

This isn't really a solution to your challenge, but it covered my needs atleast :)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.