Q1:****Vs is 0.0.0.0 & port 80 . router will forward HTTP traffic to LTM so i think this means that it is transparent & i can use what you provided , right ?
Q2:****Also i cannot understand the part
when CLIENT_ACCEPTED {
Save VS default pool name
set default_pool [LB::server pool]
Q3:*****Why is not it only the below :
when HTTP_REQUEST {
switch [string tolower [URI::host [HTTP::uri]]] {
youtube.com -
www.youtube.com -
4shared.com -
www.4shared.com -
rapidshare.com -
www.rapidshare.com {
pool cache_pool
}
default {
pool $default_pool
}
}
}
Q4:****Also :
switch [string tolower [URI::host [HTTP::uri]]]
URI::host : looks at host part of HTTP , but what is need of [HTTP::uri] ?
string tolower : what does this do ?