Edit proxy message

webfilter
v7
webproxy

(Christian Plaza) #1

Hello;

How I can edit the proxy message ??


(Markus Neuberger) #2

Hello again :slight_smile:

You can find the files for English in /usr/share/squid/errors/en-us/

[root@testserver ~]# ls /usr/share/squid/errors/en-us/
ERR_ACCESS_DENIED            ERR_FTP_FAILURE       ERR_ONLY_IF_CACHED_MISS
ERR_ACL_TIME_QUOTA_EXCEEDED  ERR_FTP_FORBIDDEN     error-details.txt
ERR_AGENT_CONFIGURE          ERR_FTP_NOT_FOUND     ERR_PRECONDITION_FAILED
ERR_AGENT_WPAD               ERR_FTP_PUT_CREATED   ERR_READ_ERROR
ERR_CACHE_ACCESS_DENIED      ERR_FTP_PUT_ERROR     ERR_READ_TIMEOUT
ERR_CACHE_MGR_ACCESS_DENIED  ERR_FTP_PUT_MODIFIED  ERR_SECURE_CONNECT_FAIL
ERR_CANNOT_FORWARD           ERR_FTP_UNAVAILABLE   ERR_SHUTTING_DOWN
ERR_CONFLICT_HOST            ERR_GATEWAY_FAILURE   ERR_SOCKET_FAILURE
ERR_CONNECT_FAIL             ERR_ICAP_FAILURE      ERR_TOO_BIG
ERR_DIR_LISTING              ERR_INVALID_REQ       ERR_UNSUP_HTTPVERSION
ERR_DNS_FAIL                 ERR_INVALID_RESP      ERR_UNSUP_REQ
ERR_ESI                      ERR_INVALID_URL       ERR_URN_RESOLVE
ERR_FORWARDING_DENIED        ERR_LIFETIME_EXP      ERR_WRITE_ERROR
ERR_FTP_DISABLED             ERR_NO_RELAY          ERR_ZERO_SIZE_OBJECT

See https://digitizor.com/how-to-change-the-default-error-document-pages-in-squid/


(Christian Plaza) #3

the block page is the page that said Powered by ufdbGuard


(Markus Neuberger) #4

Oh, I misunderstood you… :innocent:

You can find the files to edit in /var/www/cgi-bin:

[root@testserver ~]# ls /var/www/cgi-bin/ns-babel*
/var/www/cgi-bin/ns-babel.en  /var/www/cgi-bin/ns-babel.it