To be inserted in squid.conf: ------- acl block dstdomain "block.lst" http_access deny block #Either deny_info BLOCKED block # Create file BLOCKED in squid error message directory, i.e. in #/usr/local/squid/share/errors/en #or #deny_info http://my.domain.com/my_block_page.html block #alternative, but it needs http-server ----- Edit file block.lst: .twitter.com .facebook.com However, it will still be possible to use https to access facebook etc. So you might consider to forbid https completely. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/how-i-can-replace-website-source-code-content-tp4665213p4665282.html Sent from the Squid - Users mailing list archive at Nabble.com.