Forum Discussion
iRule to change base href="http:// to base href="https://
Can anyone give me a hand changing the Base Href from http to ssl? The developers have some code that says if the request is http then set the base to http and if it's ssl change the base to ssl. Unfortunately, my traffic from f5 to server is http so I want to use an iRule to change this base reference.
Any help, would be Very Much appreciated!!!
TIA
Scott
2 Replies
- nathe
Cirrocumulus
svoll, you can use a stream profile for this. see the following:
Replacing multiple strings using a Stream profile
If you want an irule then see something like this:
how-to-replace-an-href-with-an-irule-help-please
Hope this is a help,
N
- Stanislas_Piro2
Cumulonimbus
Hi,
You can use rewrite profile to rewrite http to https in response page.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
