Forum Discussion
how to code a policy to force a web server to answer with https instead of http ?
I request an URL like this : https://FQDN... and the web server respond "http://FQDN..." I am new with F5 technologie and I don't know how to use a policy to modify the server response...
2 Replies
- nitass
Employee
you mean response from bigip to client, don't you?
if yes, you may use redirect rewrite setting in http profile in case of http redirection (location header) and stream profile in case of message body.
sol14775: Configuring an HTTP profile to rewrite URLs so that redirects from an HTTP server specify the HTTPS protocol (10.x and 11.x)
http://support.f5.com/kb/en-us/solutions/public/14000/700/sol14775.htmlsol8115: Overview of the Stream profile
http://support.f5.com/kb/en-us/solutions/public/8000/100/sol8115.html - ymoreau_151858
Nimbostratus
Many thanks for your help ! I created a new http profile with "Redirect Rewrite" set to "All" instead of the default used by the Virtual Server. With that, all is Ok ! Best regards.
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