[squid-users] Re: how i can replace website source code content !!

From: babajaga <augustus_meyer_at_yahoo.de>
Date: Tue, 18 Mar 2014 02:45:44 -0700 (PDT)

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.
Received on Tue Mar 18 2014 - 09:46:30 MDT

This archive was generated by hypermail 2.2.0 : Tue Mar 18 2014 - 12:00:06 MDT