Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My problem is a bit strange.
In Iran there is a famous "access denied page" that redirects you to a strange page with a lot of HTML errors and lol, telling you RTFM about ridiculous Internet laws.
I want to filter the contents of the page, because the page IP, URL, ... are all unknown.
I don't know much about squid configuration scripts.I can read but cannot write:(
can anybody help me?

share|improve this question
up vote 0 down vote accepted

http://www.cyberciti.biz/faq/squid-content-filter-block-files/

To block things other than file extensions, just replace the regexes in blocks.files.acl with the block regexes you want to use.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .