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
I’m not sure I understand your requirements but here’s an improvement to your rule anyway which redirects any requests to just / to Google. If that’s not what you need please clarify the requirement;
when HTTP_REQUEST {
if {[HTTP::uri] equals "/" } {
HTTP::redirect "http://www.google.com"
}
}
That steve. The question relates to, instead of someone typing http://www.acme.com, they browse straight to the the VS (http://10.10.10.10) and they get the IIS/Apache page. What I would like to do is when they type in the VS, they get redirected to whatever.
RGW