f5now_28704
Aug 29, 2007Nimbostratus
301 redirects
Hi Guys.
I have a question, with my iRule set, I have about 40 domains going to one Virtual Server(192.168.1.200).
Now Marketing wants to redirect 301, 10 domains of the 40.
here is my irule for simple 301 redirection, this works but(trying to avoid changing all the DNS records) is there a way to setup this rule just to answer for 10 of the domains and pass the other 30 to where ever they needed to go?
-----------------------
when HTTP_REQUEST {
HTTP::respond 301 Location "http://[getfield www.abc.com ":" 1][HTTP::uri]"
}
-----------------------
Thanks for the Help
Ryan