Forum Discussion
Change responses http to https
Hello,
Im trying to migrate an application but it looks like content mixed or something like that and i can't pass to the load balance
The answer of the application into the server is like this:
https:test1.test.pru
http:test2.test.pru
http:test3.test.pru
Then the client watch a certificate error in the page
I create an irule with stream and after it, this just resolve one of them and the new answer is like this:
https:test1.test.pru
https:test2.test.pru
http:test3.test.pru
I tried to modify the irule but wasn't possible to correct the last behavior
Here the iRule:
What can i do to correct the last one?
- PeteWhite
Employee
Have you tried using Rewrite Redirects in the http profile? This will rewrite redirects to https for you.
- PeteWhite
Employee
So you have to work out exactly what you want to change here - the HTML code or the redirects sent from the server. If you want to change the HTML code then use the stream profile, if you want to rewrite redirects then use the Rewrite Redirects in the HTTP profile.
As Michael says, you need to apply the default Stream profile to the VS and use the iRule to change the HTML code.
Recent Discussions
Related Content
* 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