Re: Mod_rewrite and mod_proxy_balancer

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

 



Try this one

RewriteCond %{HTTP_REQUEST} storeid=1001
RewriteCond %{HTTP_REQUEST} langid=-1
RewriteRule (.*) $1&checkFlag=true [L]

Cheers,

Igor

On Fri, May 22, 2009 at 3:20 AM, ricardo figueiredo <ricardoogrande@xxxxxxxxx> wrote:
Hi,

I use rewrite because there is a directive RewriteMap. With this directive I can use external program to classify requests.
Other thing, the external program receive load information (CPU, RAM, etc..) about cluster.

For example,
     If CPU > 80% then
         I drop request;
     else
         I pass the request to cluster (According to the classification is selected a cluster)
.
Undestand ???

Thank you
Ricardo


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux