Forum Discussion
Raghbir_Singh_S
Nimbostratus
Jun 21, 2011Replace HTTPS://xxxx.xxxx.com with HTTP://xxxx.xxxx.com
Our F5 is terminating SSL traffic and sending HTTP request on port 80 to back-end server. However I also would like to change the HTTP request from "HTTPS://xxxx.xxx.com" to "HTTP://xxx.xxx.com" and send it to the back-end server. The back-end server is causing problem with request coming as "HTTPS://xxxx.xxxx.com"
I would like have the iRule in-place in F5 to solve above problem.
Please help.
Thanks,
RSS
- All you would need to do is a header replace, assuming you don't want to send a redirect back to the client. The command you're looking for is HTTP::header replace
Click Here
Keep in mind that you might need to deal with the content being sent back to the client as well, though, to avoid your users being redirected to the new URI by the server, depending on the response. Just something to look out for.
Colin
4 Replies
- nitass
Employee
if u are using only clientssl profile, i understand bigip is already sends request in form of http://xxx.xxx.com to server. - hoolio
Cirrostratus
Hi RSS,
Can you post an anonymized copy of a request you'd like to modify? Is the https:// reference in the requested URI? Or somewhere else like the request payload? You can use a browser plugin like HttpFox for Firefox or Fiddler2 to record the request headers.
Aaron - Colin_Walker_12Historic F5 AccountAll you would need to do is a header replace, assuming you don't want to send a redirect back to the client. The command you're looking for is HTTP::header replace
Click Here
Keep in mind that you might need to deal with the content being sent back to the client as well, though, to avoid your users being redirected to the new URI by the server, depending on the response. Just something to look out for.
Colin - andrenapoleon_1
Nimbostratus
cnscnss
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