i dont understand what is "rest" parameter for on whlie line? that is just to seperate url from the rest of the line? On 8/30/07, Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx> wrote: > On tor, 2007-08-30 at 11:26 -0400, alexus wrote: > > > first of all i'd like to specify somehow (probably through acl) which > > urls i want to send for rewrite at the first place, since i dont want > > my url_rewrite_program to process every single url. > > See url_rewrite_access > > > #!/bin/sh > > read i ; echo $i >> /tmp/1 ; echo $i > > - > > The above should be > > #!/bin/sh > while read url rest; do > echo $url $rest >>/tmp/1 > echo # blank line for no change, or replace with another URL. > done > > Regards > Henrik > > -- http://alexus.org/