Да, нужно еще добавить группу rewrite в acl:
acl {
sourcegroupname [within|outside timespacename] {
pass [!]destgroupname [...]
[rew|rewrite rewritegroupname [...]
[redirect [301:|302:]new_url]
}
Поскольку поиск через regexp работате медленно, то вместо rewrite можно использовать URLlists:
New in 1.0.0 is the ability to do 1-1 redirects on url basis with "key new_url". Thus as an alternative to using rewrites to redirect to local distributions you can have a destination group with an urllist like:
netscape.com/pub/communicator/4.51/english/windows/windows95_or_nt/complete_install/cc32e451.exe http://ftp.teledanmark.no/pub/www/client/windows/cc32e451.exe
netscape.com/pub/communicator/4.51/english/windows/windows95_or_nt/base_install/cb32e451.exe http://ftp.teledanmark.no/pub/www/client/windows/cb32e451.exe
and an acl with pass ... !download .... This may be a faster alternative than using lots of s@from@to@ rewrites for 1-1 mapping since it will be faster to search the B-tree than perform a bunch of string edits.