Search squid archive

Re: Configure squid based on content type of http response

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 9, 2007 9:59 PM, Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx> wrote:
> On tis, 2007-10-30 at 15:21 -0600, Dmitry S. Makovey wrote:
>
> > /etc/squid/squid.conf:
> > ...
> > acl plain_content rep_mime_type -i text/plain
> > # http_reply_access allow GET_method xml_content from_clients
> > redirect_program /usr/local/bin/myscript
> > redirector_access plain_content
>
> rep_mime_type is only valid in http_reply_access, as it needs the
> response in order to compute..
>
> the url rewriter/redirector is called before the request is forwarded,
> and can not know the response...
>
>
> It's possible to do something close to the requested feature by using
> http_reply_access and deny_info.
>

Thank you. Can you please provide an example of http_reply_access?

> Regards
> Henrik
>

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux