Forum Discussion
Gus_Thompson_11
Nimbostratus
Oct 29, 2007HTTP Redirect - (302)
Greetings,
Based on the following entry I read:
http://devcentral.f5.com/Default.aspx?tabid=53&forumid=5&postid=17805&view=topic
Is it possible to use something similar to remove our redirects on Apache and let the Big-IP handle them?
For example, assume I have the following VIP 172.26.30.100 and I have the following Domains pointed to that IP Address:
www.abc.com
www.abcd.com
www.abcde.com
Can the Big-IP redirect abcd.com and abcde.com to the IP and show it as www.abc.com?
Currently the 302 redirects are done on the web servers, but if the Big-IP could do that for us, it would save us a lot of work on the Apache side, especially since we usually have over 90 bogus domains for each real domain we own.
Just wondering, and thanks,
Gus
1 Reply
- David_Homoney
Nimbostratus
Gus,
You should be able to create a rule to the real domain if you so choose.
class domains {
www.abcd.com
www.abcde.com
}
when HTTP_REQUEST {
if { [getfield [HTTP::host] ":" 1] contains $::domains} {
HTTP::redirect http://www.abc.com
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
