jeff_parten_106
Nov 27, 2006Nimbostratus
many to one uri redirect
Good day to all,
If someone could please point me in the correct direction, it would be greatly appreciated.
We have over 100 domain names all pointing to one address (e.g., sleepingbeauty.com, monstersinc.org, pinocchio.com, dubo.net etc. all go to 192.168.10.50), the main domain name is www.disney.com pointing to the same address of 192.168.10.50. www.disney.com also has a SSL certificate which the bigip is redirecting all http connections to https. (this works fine)
We have been taskted to redirect all domain names that go the the web server to www.disney.com. Below is one of the scripts we were testing.
when HTTP_REQUEST {
if { not ([HTTP::uri] matches "www.disney.com") } {
HTTP::redirect http://www.disney.com
}
Any ideas?
Thanks
J.