smiley_dba_1116
May 15, 2013Nimbostratus
Redirect when user browses to VIP instead of DNS name
I know this sounds simple, but is there a way to redirect a client when they http directly to the VIP itself? Case in point, Sometimes Apache and/or IIS has extension that has vulnerabilities, and usually the default IIS/Apache page is a good way to do that. in this case, whenever someone types in http:// they get the default page. What i have dosent work and wanted to get your guys feedback:
when HTTP_REQUEST {
if {[HTTP::host] starts_with "
HTTP::redirect http://www.google.com
}
}
Thoughts?
RGW