[squid-users] rewrite feature, internal redirector... need help again

From: chudy fernandez <chudy_fernandez_at_yahoo.com>
Date: Thu, 25 Dec 2008 20:59:12 -0800 (PST)

#!/usr/bin/perl
$|=1;
while (<>) {
    @X = split;
    if (($X[4] =~ /POST/) && ($X[1] =~ /files\/[0-9]*\/[0-9]*/)) {
        print "$X[0] 302:$X[1]\n";
    } else {
        print "$X[0] $X[1]\n";
    }
}
note:
url_rewrite_children 1
url_rewrite_concurrency 99

how to do this in rewrite feature?...
rewrite 302:%ru <-im stuck up here

      
Received on Fri Dec 26 2008 - 04:59:20 MST

This archive was generated by hypermail 2.2.0 : Fri Dec 26 2008 - 12:00:01 MST