Forum Discussion
Sonny_J_Bonds_1
Nimbostratus
Oct 01, 2015URL Redirect without carrying over path
Hi, I am using this same redirect iRule I used for http to https which works flawlessly for me (except the irule below is stripped from the
Now all I want is a simple redirect from www.helloworld....
Sonny_J_Bonds_1
Nimbostratus
Oct 01, 2015OK guys, never mind. I could have swore I did this earlier and it didn't work. All I did was removed "[HTTP::uri]"
So here is how my irule looks like now in case someone out there runs through the same scenario. It works exactly how I want it to now, thank you anyway.
when HTTP_REQUEST {
if { [HTTP::host] contains "helloworld"} {
HTTP::redirect http://maintenance.mydomain.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