Forum Discussion
LeonS_296027
Nimbostratus
Feb 13, 2018iRule to for http redirect with custom port.
I have flowing problem
Client is going to connect as folowing:
https://mydomain.com:14444
I had set up a vserver for it and everything is working.
I need to create a iRule for HTTP redirect fo...
Only1masterbla1
Cirrus
Feb 14, 2018Your iRule should have worked. Anyway, try this one:
when HTTP_REQUEST {
log local0. "https://[getfield [HTTP::host] ":" 1]:[getfield [HTTP::host] ":" 2][HTTP::uri]" HTTP::redirect https://[getfield [HTTP::host] ":" 1]:[getfield [HTTP::host] ":" 2][HTTP::uri]
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
