Hello, I want to use tftpd rewrite feature to sort configs from different systems to subdirs named by the system-ip and (perheps) by date. the system (cisco pix) issues 'wr net: /config' this should be rewritten to /10.0.0.1/config or better /10.0.0.1/20020403-1448 Is this possible? Thanks for any hints. -- Andreas Schulze
Andreas Schulze wrote:> Hello, > > I want to use tftpd rewrite feature to sort configs from different systems > to subdirs named by the system-ip and (perheps) by date. > > the system (cisco pix) issues 'wr net: /config' > this should be rewritten to /10.0.0.1/config or better /10.0.0.1/20020403-1448 > > Is this possible? > Thanks for any hints. >r ^/config /\i/config ... or, if you want to change *any* filename starting with / to this form: r ^/ /\i/ -hpa