Sorry... I forgot to add that to apply the sed script you will need to
add a "-i" option.
ie: ... sed -i -e ...
Eliezer
On 08/02/2016 20:56, Eliezer Croitoru wrote:
It depends on where you have installed squid.
The %T will be present in the error page templates which are not the css
ones, if you are using my RPMs then you will find them in the
sub-directories of /usr/share/squid/errors/.
If you will want to change them for all the files in the error pages you
will probably need to use some tiny sed + xargs + find script.
##Warning a very very non tested code\script sketch
##Don't run unless you understand it!!!
cd /usr/share/squid/errors && find -type f|xargs -l1 sed -e s/\%T/%t/g
##Don't run unless you understand it!!!
##END
All The Bests,
Eliezer
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users