lör 2006-06-24 klockan 23:54 +0200 skrev jb: > But a few questions about this script : > > 1. It is possible to make a "catch all" for all requests that doesn't match > storage.mysite.com ?
Yes... by using a bit of Perl magics
while(<>) {
s%...%...% && next;
s%...%...% && next;
} continue {
print;
}
> 2. What is a overhead for the box with this script (Squid box with 250
> req/s) ? I imagine that it is very small ?
Overhead of using redirectors (any redirector, even if taking 0 time to
execute) is quite high.
Regards
Henrik
signature.asc
Description: Detta är en digitalt signerad meddelandedel
