Re: [squid-users] No to setup multiple block rules?

From: Amos Jeffries <[email protected]>
Date: Thu, 8 Nov 2007 14:06:49 +1300 (NZDT)

> Hi,
>
> Is it possible to setup multiple block rules, like this?
>
> acl blockfiles urlpath_regex
> "/usr/local/squid/squid_redirect/blocks.files.acl"
> deny_info ERR_BLOCKED_FILES blockfiles
> http_access deny blockfiles
>
> I would like squid to serve up a different block html file for each
> file type that is being blocked.
>
> Is that possible?
>

Yes. You can place any valid URI in place of ERR_BLOCKED_FILES.
Squid will serve up that URI instead of the default page.

Amos
Received on Wed Nov 07 2007 - 18:06:53 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:02 MST