On ons, 2008-06-11 at 18:02 +0200, Sylvain Viart wrote:
> url_rewrite_program /etc/squid/redirector.pl
> url_rewrite_children 100
> url_rewrite_concurrency 50
> url_rewrite_host_header off
>
>
> which means :
>
> 100 process spawned (busy proxy)
> url_rewrite_concurrency 50, means squid can pass up to 50 URL to the
> program using a counter
You would actually be better off with url_rewrite_children 1 and a much
higher concurrency level.
> url_rewrite_host_header off, means that redirector rewrites the URL, but
> squid keep the original URL, useful in accelerator mode (surrogate), See
> the doc, to be sure.
It's better to not rewrite the host component. Use cache_peer_access to
select the right backend server instead.
This is a directive likely to be removed in future releases as it's not
really needed, and can cause some often unexpected problems (but natural
once you look at it..)
Regards
Henrik
This archive was generated by hypermail 2.2.0 : Thu Jun 12 2008 - 12:00:04 MDT