Search squid archive

Re: adding a parameter to a URL

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

 



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

Attachment: signature.asc
Description: This is a digitally signed message part


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

  Powered by Linux