Forum Discussion
Emre_27149
May 09, 2011Nimbostratus
irule redirection issue
Hi,
Incoming client requests to http://xyz.com.tr - (10.x.x.199) distrubutes to the pool httpgw-8086-pool but I want to change the URI when the clinet requests load balanced (exmp: 10.x.x.257:8...
hooleylist
May 17, 2011Cirrostratus
If you want to rewrite the host header based on the selected pool member IP and/or port, you can use the HTTP_REQUEST_SEND event. Here is a 9.4.x example which you could modify to use the class command for 10.x:
http://devcentral.f5.com/wiki/default.aspx/iRules/rewrite_host_header_to_server_name.html
http://devcentral.f5.com/wiki/default.aspx/iRules/class
Aaron
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