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.
- Arnaud_LemaireEmployee
should be working, can you look at the browser level with a plugin to see the response from bigip ?
- InnONimbostratus
Just tested it in here, it worked like a charm as expected :)
- siyadh_121603Nimbostratus
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.
- InnONimbostratusYes 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 ?
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