Forum Discussion
Heidi_35827
Nimbostratus
Nov 08, 2011iRule for HTTP redirect from retired URL to new URL
I'm new to iRules and could use some help. I think I have a pretty basic question but I'm not finding the answer after a few searches in DevCentral.
Here is what I'm trying to do....we ha...
Ethan_28095
Nimbostratus
May 30, 2013need help with 301 redirect for this
if i have 10 domains
i try to redirect like below
Old URL: http://www.[domains].com
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] starts_with "www" } {
HTTP::respond 301 Location "-----"
}
}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