F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

User_02_142493's avatar
User_02_142493
Icon for Nimbostratus rankNimbostratus
Jan 30, 2014

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

  • 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.