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.4Received on Fri Jan 07 2011 - 04:50:48 MST
This archive was generated by hypermail 2.2.0 : Fri Jan 07 2011 - 12:00:02 MST