Forum Discussion
Mariusz_B
Nimbostratus
Sep 05, 2014Problems with redirections
Hello,
This is my first post here, so welcome everybody 🙂
I need some help with redirecting from http back to https
We have few services which we setup on LTM. For some of them the requirement i...
Mariusz_B
Nimbostratus
Sep 08, 2014Hi Andrew,
Thank you very much for the link. I'll go through this tomorrow.
In the meantime I have done a wget test, and this is what my problem is:
wget --no-check-certificate https://1.1.1.1/Service_name
--2014-09-08 17:52:57-- https://1.1.1.1/Service_name
Connecting to 1.1.1.1:443... connected.
WARNING: certificate common name `ab.example.com' doesn't match requested host name `1.1.1.1'.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://1.1.1.1/Service_name/ [following]
--2014-09-08 17:52:57-- https://1.1.1.1/Service_name/
Connecting to 1.1.1.1:443... connected.
Looks like I need an iRule which will not only modify request URI, but it will also modify response URI (if possible). Something like: example.com/client/service_name to example.com/service_name and then back to example.com/client/service_name when responding back to browser.
Andrew_Husking
Cirrus
Sep 08, 2014Once it's set to the right pool, is there any reason why you need it to change the uri back to client?
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