Search squid archive

rewrite feature, internal redirector... need help again

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

 



#!/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


      

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

  Powered by Linux