Forum Discussion
Port redirection from 80 to 8090
Hi,
i have tried the irule for port redirection from 80 to 8090. when HTTP_REQUEST { HTTP::redirect http://[getfield [HTTP::host] ":" 1]:8090[HTTP::uri] }
Objective is to redirect all the request to 8090, we have configured Virtual server on port 8090.
4 Replies
- Arnaud_Lemaire
Employee
should be working, can you look at the browser level with a plugin to see the response from bigip ?
- InnO
Nimbostratus
Just tested it in here, it worked like a charm as expected :)
- siyadh_121603
Nimbostratus
Hi Arnaud/F5Maniac,
it will work with IP as well...rit..? because still we are not using domain name/FQDN to access service.
And in browser it just keep on trying and ends with nothing.
- InnO
Nimbostratus
Yes it will work. the iRule just grabs the first part of the host header, so the problem may not be in the iRule itself which is pretty straght forward.. I suppose your 8090 server is already able to answer direct HTTP requests ?
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
