have you ever seen this break a website? i have loaded it on two vips and both give broken images or no images and sometimes resets the browser connection. any ideas? did i mess something up here?
when HTTP_RESPONSE {
switch -glob [HTTP::header "Content-type"] {
"image/*" { STATS::incr "ContentType" "Images"
STATS::incr "ContentLength" "Images" [HTTP::payload length]
}
"text/html" {
STATS::incr "ContentType" "HTML"
STATS::incr "ContentLength" "HTML" [HTTP::payload length]
}
"text/css" { STATS::incr "ContentType" "Stylesheets" }
"*javascript" { STATS::incr "ContentType" "Scripts" }
"text/vbscript" { STATS::incr "ContentType" "Scripts" }
"application/x-shockwave-flash" { STATS::incr "ContentType" "Flash" }
"video/x-flv" { STATS::incr "ContentType" "FlashVideo" }
"default" { STATS::incr "ContentType" "Other" }
}
}