Forum Discussion
OCC_Ops_68605
Nimbostratus
Dec 05, 2013HTTPS to HTTPS redirect
I need to redirect several https domains to one https main domain, the irule for http to https is working very good, but the same irule with https to https it does not working. Any ideas??
IheartF5_45022
Nacreous
Jan 13, 2014Not sure what you mean by 'params' but for a stab in the dark do you mean you want to redirect to the same path the request came in on? If so you would use [HTTP::path]
HTTP::respond 301 Location "https://www.mymainsite.com[HTTP::path]"
- OCC_Ops_68605Jan 13, 2014
Nimbostratus
Great!! Thank you for you help. Now it´s working. - IheartF5_45022Jan 13, 2014
Nacreous
Or use [HTTP::uri] if want the whole path including query strings.
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