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