Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.