Squid3 language error messages
-
Tested with squid3-dev 3.3.10 pkg 2.2.1 package
Language Select the language in which the proxy server will display error messages to users.I selected ca (Catalan) language and I've got the following warnings:
cat /var/squid/logs/cache.log | grep ca-es 2014/03/31 13:33:46 kid1| '/usr/pbi/squid-amd64/etc/squid/errors/ca-es/ERR_DNS_FAIL': (2) No such file or directory 2014/03/31 13:33:46 kid1| WARNING: Error Pages Missing Language: ca-esI think squid is using the browser's language-country (Catalan-Spain), no matter that it's configured in this option.
Workaround
cd /usr/pbi/squid-amd64/etc/squid/errors ln -s ca ca-es ls -l | grep ca drwxr-xr-x 2 proxy proxy 1536 Nov 26 20:53 ca lrwxr-xr-x 1 root proxy 2 Mar 31 13:35 ca-es -> ca lrwxr-xr-x 1 root wheel 2 Nov 26 20:53 en-ca -> en lrwxr-xr-x 1 root wheel 2 Nov 26 20:53 fr-ca -> frlike for en-ca (English-Canada) and fr-ca (French-Canada).
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy