Forum Discussion
Redirect Rewrite Issue
Hi,
I have an Single sign on application where once i log in there will be a bookmark to my CRM application. By default the redirect rewrite was set to ALL due to which the CRM application was not working since the URL was being rewritten to https. I changed it back to NONE and CRM seems to work fine. But on my SSO login page i have an option FORGOT PASSWORD. after changing redirect rewrite to NONE this link has stopped working.It is not passing over https but automatically being redirected as http. Can anyone please help in solving the issue. Is there any irule that can be used ?? f5 version is 9.4.x.
2 Replies
- Kevin_Stewart
Employee
You can effectively do the same thing as the redirect rewrite option with something like the following:
when HTTP_RESPONSE { if { [HTTP::header exists Location] } { in a redirect - remap specific URLs HTTP::header replace Location [string map {"http://www.example.com" "https://www.example.com"} [HTTP::header Location]] } }This will allow you to control specific redirects.
- User_02_142493
Nimbostratus
Hi kevin,
Its working as expected.
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