Forum Discussion
Nick_67001
Nimbostratus
Aug 06, 2008client redirection from http to https
Hi,
I've the following problem to solve :
Client must come in HTTPS to the BIG-IP and BIG-IP -> Server in HTTP. My Virt server is in HTTPS.
We would like that any client coming with http://www.acb.com that the BIG-IP respond to the client to uses https://www.abc.com
Something like that :
If http_request = http://www.abc.com
then HTTP response = https://www.abc.com
Somebody could help me to translate that in an Irules...?
Thanks a lot in advance.
Nick
- Nicolas_Menant
Employee
Hi,when HTTP_REQUEST { HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri] }
- Nick_67001
Nimbostratus
Hello, - James_Quinby_46Historic F5 AccountAlso, there's a freebie tool for generating redirection iRules of all sorts here:
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