Forum Discussion

Rosieodonell_16's avatar
Dec 17, 2015

Not sure what i need, rewrite or host header change

Basically i have users going to the following URL:

 

https://users.company.com/portal

 

but the server on the back end only wants to see

 

Just wondering what kind of irule i will need for this? i have tried stream profiles and basic rewrites and still get nothing. So i guess ia m lookign for a way for the users to still see https://users.company.com/portal and the traffic to show on the back end.

 

1 Reply

  • Hi Rosieodonell,

    you need at least two things...

    1.) Configure SSL offloading to bridge between HTTPS (external VS) and HTTP (internal server)

    2.) Change/rewrite the HOSTHEADER value by using

    HTTP::host "server01"
    (v11.5+) or
    HTTP::header replace Host "server01"

    ... additional steps may be required, if the website does use absolute self-links or redirects, non-secure cookies, and certain other stuff which is not compatible with HTTPS offload and HOSTNAME changes.

    But at first you should give 1.) and 2.) a try.

    Cheers, Kai