Re: Load Balancing, mod_proxy, rewrite problem

2002-05-14 Thread Perrin Harkins
mire wrote: I have code like this: RewriteEngine On RewriteLog /var/site/rewrite.log RewriteMaplb prg:/tmp/lb RewriteRule ^/trta$ http://${lb:prvi|drugi} [proxy,last] and a perl script (a copy from mod_proxy manual) but it doesn't work,

Re: Load Balancing, mod_proxy, rewrite problem

2002-05-14 Thread Tom Lancaster
I think I had a similar problem. It's a while since I tackled it, so I might be wrong. In any case, I was having problems doing proxy with a rewritemap. My reason for wanting to do this was so I could use the weighting feature of rewritemaps to do weighted load balancing between frontend and

Re: Load Balancing, mod_proxy, rewrite problem

2002-05-14 Thread Tom Lancaster
On closer examination, I don't think this will solve your problem - this helps when you want to proxy something that's been included via mod_include. Tom On Tue, May 14, 2002 at 09:32:54AM -0700, Tom Lancaster wrote: I think I had a similar problem. It's a while since I tackled it, so I