Forum Discussion
Darrin_Wiens_25
Nimbostratus
Aug 20, 2008Redirect and Host change on HTTP::Response
I have an odd issue I need to see if I can resolve in an iRule. We have a Sharepoint server that sits behind the F5. When users go to the VIP or the URL associated with the VIP they connect fine but the server rewrites the URL. For example if the user goes to...
https://sharepoint.blah.com
the server will respond and change the URL to...
http://servername:1010
We would like to to find a way to change the host in the HTTP::RESPONSE and the protocol from HTTP back to HTTPS so that the client continues to see https://sharepoint.blah.com in their browser. Here is what I have so far for the host change part...
when HTTP_RESPONSE {
if { ([HTTP::host] equals "servername") } {
HTTP::header replace Host "sharepoint.blah.com"
}
}
I have a feeling even this is not correct. Any help is greatly appreciated.
Thanks,
Darrin
2 Replies
- The_Bhattman
Nimbostratus
I am not sure about this but did you check the HTTP Profile and basically enable redirect rewrite and set it to All or matching? - Darrin_Wiens_25
Nimbostratus
Well I'm getting a little further. I met with the web team and they have even more issues than I originally was made aware of.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects