Forum Discussion
mel_59881
Nimbostratus
Jun 19, 2007rewrite .com to .org
First, great site! Good design, good answers.
My problem: I need an iRule to rewrite .com requests to .org requests so my certs will not give a warning page. The url is www.mysite.org, but...
dennypayne
Employee
Jun 19, 2007Why not just redirect anyone that hits .com to .org? Then you don't have to worry about subsequent connections to .com.
The problem you'll have doing it the other way is that if LTM is not doing SSL acceleration, you won't have visibility into the SSL traffic to see the host header.
So I would just do this on your port 80 VIP (I haven't tested syntax here):
when HTTP_REQUEST {
if { [HTTP::host] contains "mysite.com" }
{ HTTP::redirect http://www.mysite.org }
}Denny
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
