RE: URL Rewriting

2008-03-08 Thread Alex Harrington
Hi again Many thanks for all the help on and off list. I've tightened the regexp as suggested and am now setting req.url instead of req.http.url and It's working perfectly in the lab. Thanks again Alex sub vcl_recv { if (req.http.host ~ "^(www\.)?deansleisurecentre\.com$") {

Re: VCL purge

2008-03-08 Thread Dag-Erling Smørgrav
André Øien Langvand <[EMAIL PROTECTED]> writes: > Wonderful, however, doing this from the purge_hash() function still fails: > > purge_hash(req.url "#" req.http.host "#"); > ---### > Error: Expected ')' got '"#"' Please submit a ticket. It would appear string c

Re: URL Rewriting

2008-03-08 Thread Dag-Erling Smørgrav
"Alex Harrington" <[EMAIL PROTECTED]> writes: > I'm hoping I can use Varnish to sit between the web server and my users > to disguise the subfolders in to separate domains - eg > > Client URL => Backend URL > http://example.com => http://example.com > http://example.com/index.phtml?d=12345 => > htt

Re: Tuning varnish for high load

2008-03-08 Thread Dag-Erling Smørgrav
"Poul-Henning Kamp" <[EMAIL PROTECTED]> writes: > Do notice, that if you have a high hit ratio under high traffic, > adding more thread pools is recommended to lower the mutex > congestion. This is as good an occasion as any to mention that these parameters are poorly named; thread_pool_{min,max}