Home > squid error > edit squid error messages

Edit Squid Error Messages

Contents

are ugly, here's how you can change it. Configuration This assumes you already have a squid proxy installation which is up how to change squid error message and running. Squid is serving static pages on errors, denies

Squid Error Codes

or on other problematic situations. All those pages can be found in /usr/share/squid/errors/. The pages are squid error could not send signal 0 to process stored in folders with language names. Those folders are actually the squid translated pages. We can change the language squid serves pages by editing /etc/squid/squid.conf

Squid Error Negotiating Ssl Connection

configuration file. Find the error_directory directive and change it's value to the path where your language files are stored. error_directory /usr/share/squid/errors/RomanianOk, but this doesn't make Squid error pages prettier! To get this issue fixed you can edit every page inside the error pages directory to suit your needs, or, you squid error 1067 can use sed! Custom pages Make a copy of your language folder first. mkdir /etc/squid/pages/ cp -r /usr/share/squid/errors/Romanian /etc/squid/pages/Now cause it is HTML the pages inside that folder are written in, we can use CSS to prettify those. Here's a simple sed usage to quickly search and replace the default squid error pages CSS tag with some custom CSS: sed -i 's/