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]

 



> Dmitry,
>
> Thank you for your help. But after I added this in my squid conf.
> Squid stops working.
> When I hit my browser via Squid to get content, nothing returns. No
> even non 'text/plain' content.  Can you please tell me what am i
> missing?

Needing redirectors is a little messy and uses extra resources. You can
add this nice hack to speed the performance a bit and make it a lot easier
to understand.

acl plainText rep_mime_type -i ^text/plain$
deny_info http://your.server/dummy.txt plainText
http_reply_access deny plainText

- will redirect all users to the dummy.txt page ONLY when the access line
causes a deny.

Amos



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

  Powered by Linux