edit squid.conf
# ee /usr/local/etc/squid/squid.conf
# ee /usr/local/etc/squid/squid.conf
tambahkan configurasi
err_page_stylesheet /usr/local/etc/squid/error_message/coba.css
bwt directori error_message
#mkdir /usr/local/etc/squid/error_message/
bwt file coba.css
ee /usr/local/etc/squid/error_message/coba.css
contoh css sederhana yang saya bwt
<HTML>
<HEAD>
<STYLE TYPE=.text/css.> body { background-color:#33cc00;color:0000cc;}
h1 { color:#000066;
font-family: Calibri;
}
p {font-family: Calibri;
font-size: 18px;
color:grey;
}
a:link {
font-family: Calibri;
font-size: 24px;
font-weight: bold;
color: blue;
text-decoration: underline;
letter-spacing: 2px;
text-shadow: 0px 0px 5px black;
}
a:hover {
color: blue;
}
a:active {
color: grey;
}
a:visited {
color:black;
}
</STYLE>
</HEAD>
<BODY>
<h1>MAAF AKSES ANDA DI TOLAK</h1>
<p>anda mungkin sedang membuka situs situs terlarang atau anda belum terdaftar di akun kami silahkan hubungi admin </p>
<p>buka juga </p>
<p><a href="http://dokumentasifreebsd.blogspot.com/">http://dokumentasifreebsd.blogspot.com/</a></p>
<p><a href="http://kisahteladan14.blogspot.com/">http://kisahteladan14.blogspot.com/</a></p>
<p>admin anda :</p>
<p><a href="mailto:wahyu.muqsita@arc.itb.ac.id">wahyu.muqsita@arc.itb.ac.id</a></p>
</BODY>
</HTML>
restart konfigurasi squid
# squid -k reconfigure
restart konfigurasi squid
# squid -k reconfigure