Forum Discussion
Redirect iRule from one HTTPS to another HTTPS
Thank you for your quick quick answer.
on point 1 what I am trying to do is mask the server name and port
on point 2 I would like to get a redirect irule from whatever the client is typing
HTTPS://yyyyyy.com/aaa or HTTP://yyyyyy.com/aaa to HTTPS://yyyyyy.com.
Do not worry about point 1 but at least get the irule for point 2
Thank you in advance
Richard
- Vijay_ESep 18, 2016
Cirrus
For better flow of answer, if you are posting something as a follow-up to an answer, add a "comment" instead of adding an "answer". It helps others to better understand the current status.
The server information won't be visible to the client. So, you don't really have to worry about it.
You would have to attach this iRule to the VS:443 & VS:80
when HTTP_REQUEST { if { ([HTTP::host] eq "domain.com") and ([HTTP::uri] eq "/aaa") } { HTTP::respond 301 Location "https://domain.com/" } } - GLF_77239Sep 18, 2016
Nimbostratus
I will test the irule that you sent me to my VS on 443 and let you know if it works. The port 80 is being used for another APP and I can't touch it. They configured the APP to work only on 443. I am sorry to send my comments as an answer.(my first time using devCentral)
Thank you again!
Richard
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