Search squid archive

Re: url_rewrite_program

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

 



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

Attachment: signature.asc
Description: This is a digitally signed message part


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

  Powered by Linux