Forum Discussion
Rasool1224
Nimbostratus
Apr 29, 2018change http header
Dear DevCentral
I would like to do as, my application url is http://test.me.com, want to replace with https://me.test.com
I tried to use streaming profile but no success can any one advice me ! thank you Regards,
You should use LTM Policy preferably. Alternatively iRule as follow:
if { [HTTP::host] equals "test.me.com" } { HTTP::respond 301 Location ";[HTTP::uri] }
or,
when HTTP_REQUEST { if { [string tolower [HTTP::host]] eq "test.me.com" } { HTTP::respond 301 Location ";[HTTP::uri] } }
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