Hi Amos! Thanks for the reply. So how would this look like? acl apache http_reply_access "apache" acl apache http_reply_access "Apache" http_access deny apache Thanks, Tibby -----Original Message----- From: Amos Jeffries [mailto:squid3@xxxxxxxxxxxxx] Sent: Friday, January 07, 2011 5:51 AM To: squid-users@xxxxxxxxxxxxxxx Subject: Re: just for fun On 05/01/11 10:42, Tóth Tibor Péter wrote: > This is just for fun, or for some kind of excerise for the geeks ... > > I was wondering if is there a way to block every sites hosted on apache servers or hosted on linux machines? http_reply_access plus an ACL which checks reply header "Server:" for the apache server agent. Server OS is more tricky, it is done in the same way but depends on whether the OS is even mentioned in the reply headers. > of course within squid. Is there some kind of tweak to get the webserver version of the site and make rules based on that? > > Again this is just for myself and as an excersise. > > If not with squid, would it be possible to do this with a .PAC file ? Nope. It has to be done based on the reply. Amos -- Please be using Current Stable Squid 2.7.STABLE9 or 3.1.10 Beta testers wanted for 3.2.0.4